From 119ba03bd4fefdcf65dc044fb5ee1a9a34d47e58 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 3 Feb 2015 14:42:20 +0300 Subject: [PATCH] minor fixes for previous --- include/functions2.php | 2 +- js/tt-rss.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2