summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-02-03 14:42:20 +0300
committerAndrew Dolgov <[email protected]>2015-02-03 14:42:20 +0300
commit119ba03bd4fefdcf65dc044fb5ee1a9a34d47e58 (patch)
tree36f885f79ebfd1449959fd3c17f189f9feca56a2
parentefcc5d365db4d1b0f3a26098011319daf50e018e (diff)
minor fixes for previous
-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);