summaryrefslogtreecommitdiff
path: root/opml.php
diff options
context:
space:
mode:
Diffstat (limited to 'opml.php')
-rw-r--r--opml.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/opml.php b/opml.php
index c17821130..f3dd34ef4 100644
--- a/opml.php
+++ b/opml.php
@@ -36,6 +36,8 @@
$title = pg_escape_string($attrs['TEXT']);
$url = pg_escape_string($attrs['XMLURL']);
+ if (!$title || !$url) return;
+
print "Feed <b>$title</b> ($url)... ";
$result = pg_query("SELECT id FROM ttrss_feeds WHERE