summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/functions2.php2
-rw-r--r--js/tt-rss.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/functions2.php b/include/functions2.php
index 0207c1240..13b92225e 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 df41a9cc5..e79f47176 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);