From: Andrew Dolgov Date: Wed, 8 May 2013 15:21:17 +0000 (+0400) Subject: check_for_update: compare against VERSION_STATIC X-Git-Tag: 1.7.9~10 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=74a8b2f6f1cd8d6c0556fbf11898ca8437e14816;p=tt-rss.git check_for_update: compare against VERSION_STATIC --- diff --git a/include/functions.php b/include/functions.php index 2a239d30..8c8cf901 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; } }