summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/backend.php b/backend.php
index df4abeff5..1a267805a 100644
--- a/backend.php
+++ b/backend.php
@@ -356,7 +356,12 @@
}
if (db_num_rows($result) == 0) {
- print "<li>No tags/feeds to display.</li>";
+ if ($tags) {
+ $what = "tags";
+ } else {
+ $what = "feeds";
+ }
+ print "<li>No $what to display.</li>";
}
print "</ul>";