summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-05-16 06:22:58 +0100
committerAndrew Dolgov <[email protected]>2007-05-16 06:22:58 +0100
commit0f39ae202ef88ca05089d139acf7489f2ad49781 (patch)
treee85fb79d87a92c446289e5ccb6fc9ef3f6330b54 /functions.php
parentf965ee33c5bd330bc1d52c05d74344cb74813557 (diff)
forbid blank feed titles in feedlist
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 678f11311..b54b32acc 100644
--- a/functions.php
+++ b/functions.php
@@ -3116,6 +3116,9 @@
while ($line = db_fetch_assoc($result)) {
$feed = db_unescape_string($line["title"]);
+
+ if (!$feed) $feed = "[Untitled]";
+
$feed_id = $line["id"];
$subop = $_GET["subop"];