"no tags/feeds for display" split in two messages
This commit is contained in:
parent
0d43617929
commit
8037c61860
1 changed files with 6 additions and 1 deletions
|
@ -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>";
|
||||
|
|
Loading…
Reference in a new issue