From 440148aa1f7bdfb1001b5dc1b56d29cfbf19df52 Mon Sep 17 00:00:00 2001 From: Frank Karlitschek Date: Tue, 9 Apr 2013 13:13:52 +0200 Subject: [PATCH] fix versioning check --- lib/installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/installer.php b/lib/installer.php index 251d115b76c..4ddfd17660d 100644 --- a/lib/installer.php +++ b/lib/installer.php @@ -135,7 +135,7 @@ class OC_Installer{ // check if the app is compatible with this version of ownCloud $version=OC_Util::getVersion(); - if(!isset($info['require']) or ($version[0]>$info['require'])) { + if(!isset($info['require']) or !OC_App::isAppVersionCompatible($version, $info['require'])) { OC_Log::write('core', 'App can\'t be installed because it is not compatible with this version of ownCloud', OC_Log::ERROR); -- 2.39.5