From: Andrew Dolgov Date: Tue, 3 Feb 2015 11:42:20 +0000 (+0300) Subject: minor fixes for previous X-Git-Tag: 16.3~364 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=119ba03bd4fefdcf65dc044fb5ee1a9a34d47e58;p=tt-rss.git minor fixes for previous --- diff --git a/include/functions2.php b/include/functions2.php index 0207c124..13b92225 100644 --- a/include/functions2.php +++ b/include/functions2.php @@ -220,7 +220,7 @@ } } - return false; + return ""; } function make_runtime_info() { diff --git a/js/tt-rss.js b/js/tt-rss.js index df41a9cc..e79f4717 100644 --- a/js/tt-rss.js +++ b/js/tt-rss.js @@ -770,7 +770,7 @@ function parse_runtime_info(data) { if (k == "update_result") { var updatesIcon = dijit.byId("updatesIcon").domNode; - if (v != "") { + if (v) { Element.show(updatesIcon); } else { Element.hide(updatesIcon);