From 74a8b2f6f1cd8d6c0556fbf11898ca8437e14816 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 8 May 2013 19:21:17 +0400 Subject: [PATCH] check_for_update: compare against VERSION_STATIC --- include/functions.php | 3 +-- 1 file changed, 1 insertion(+), 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; } }