summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-05-08 19:21:17 +0400
committerAndrew Dolgov <[email protected]>2013-05-08 19:21:17 +0400
commit74a8b2f6f1cd8d6c0556fbf11898ca8437e14816 (patch)
tree9d7e6b3b9c324d0db0ac04eb1fc342b57856a99f /include
parentb8461261fb8ed0fcfa42774fabc41663c75273eb (diff)
check_for_update: compare against VERSION_STATIC
Diffstat (limited to 'include')
-rw-r--r--include/functions.php3
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;
}
}