implement new version checking (3)

This commit is contained in:
Andrew Dolgov 2006-08-20 05:31:41 +01:00
parent da412ad3be
commit 9157e01592

View file

@ -2386,7 +2386,7 @@
$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>";
}