diff options
author | redmatrix <git@macgirvin.com> | 2016-01-17 00:17:23 -0800 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-01-17 00:17:23 -0800 |
commit | da9a8d54de70d290668da24a3ec930dd9230aab1 (patch) | |
tree | 6dd3c46d40b1a442c58e2e674f42e5b9eb186c33 | |
parent | 0365f5d52c3bb889b037d0b31d26bb218e23b4b4 (diff) | |
download | volse-hubzilla-da9a8d54de70d290668da24a3ec930dd9230aab1.tar.gz volse-hubzilla-da9a8d54de70d290668da24a3ec930dd9230aab1.tar.bz2 volse-hubzilla-da9a8d54de70d290668da24a3ec930dd9230aab1.zip |
minversion issue
-rwxr-xr-x | include/plugin.php | 4 | ||||
-rw-r--r-- | version.inc | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/plugin.php b/include/plugin.php index 2bc363556..a47558b63 100755 --- a/include/plugin.php +++ b/include/plugin.php @@ -365,7 +365,7 @@ function check_plugin_versions($info) { return true; if(array_key_exists('minversion',$info)) { - if(version_compare(trim($info['minversion']),STD_VERSION, '>=')) { + if(! version_compare(STD_VERSION,trim($info['minversion']), '>=')) { logger('minversion limit: ' . $info['name'],LOGGER_NORMAL,LOG_WARNING); return false; } @@ -377,7 +377,7 @@ function check_plugin_versions($info) { } } if(array_key_exists('minphpversion',$info)) { - if(version_compare(trim($info['minphpversion']),PHP_VERSION, '>=')) { + if(! version_compare(PHP_VERSION,trim($info['minphpversion']), '>=')) { logger('minphpversion limit: ' . $info['name'],LOGGER_NORMAL,LOG_WARNING); return false; } diff --git a/version.inc b/version.inc index 4c4d3ae66..84bd44ea2 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2016-01-16.1280H +2016-01-17.1281H |