diff options
author | Andrew Dolgov <[email protected]> | 2013-05-08 19:21:17 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-05-08 19:21:17 +0400 |
commit | 74a8b2f6f1cd8d6c0556fbf11898ca8437e14816 (patch) | |
tree | 9d7e6b3b9c324d0db0ac04eb1fc342b57856a99f | |
parent | b8461261fb8ed0fcfa42774fabc41663c75273eb (diff) |
check_for_update: compare against VERSION_STATIC
-rw-r--r-- | include/functions.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/functions.php b/include/functions.php index 2a239d303..8c8cf9013 100644 --- a/include/functions.php +++ b/include/functions.php @@ -2845,8 +2845,7 @@ if ($version_data) { $version_data = json_decode($version_data, true); if ($version_data && $version_data['version']) { - - if (version_compare(VERSION, $version_data['version']) == -1) { + if (version_compare(VERSION_STATIC, $version_data['version']) == -1) { return $version_data; } } |