implement new version checking (3)

master
Andrew Dolgov 19 years ago
parent da412ad3be
commit 9157e01592

@ -2386,7 +2386,7 @@
$release_url = $last_item["link"]; $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\"> return "<div class=\"notice\"><a target=\"_new\" href=\"$release_url\">
New version of Tiny-Tiny RSS ($last_version) is available.</a></div>"; New version of Tiny-Tiny RSS ($last_version) is available.</a></div>";
} }

Loading…
Cancel
Save