]> git.wh0rd.org - tt-rss.git/commitdiff
implement new version checking (3)
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 20 Aug 2006 04:31:41 +0000 (05:31 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 20 Aug 2006 04:31:41 +0000 (05:31 +0100)
functions.php

index 546a5f1d5fc540b62f97617186f0046d7158c9ca..99cea3e6fff2336f1f297961affb199b1bbe886c 100644 (file)
 
                        $release_url = $last_item["link"];
 
-                       if ($cur_version == $last_version) {
+                       if ($cur_version != $last_version) {
                                return "<div class=\"notice\"><a target=\"_new\" href=\"$release_url\">
                                                New version of Tiny-Tiny RSS ($last_version) is available.</a></div>";
                        }