]> git.wh0rd.org Git - tt-rss.git/commitdiff
check_for_update: compare against VERSION_STATIC
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 8 May 2013 15:21:17 +0000 (19:21 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 8 May 2013 15:21:17 +0000 (19:21 +0400)
include/functions.php

index 2a239d30335881ff77ddb7c6f01d7cc5153ffb3b..8c8cf90132aa51303706cc3b7540dd66a6cd162a 100644 (file)
                        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;
                                        }
                                }