From: Andrew Dolgov Date: Fri, 2 Sep 2005 15:41:24 +0000 (+0100) Subject: basic sanity checking in OPML import X-Git-Tag: 1.0.3~64 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f179a35d12b50f5c1667726236c2d8e015861ef6;p=tt-rss.git basic sanity checking in OPML import --- diff --git a/opml.php b/opml.php index c1782113..f3dd34ef 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 $title ($url)... "; $result = pg_query("SELECT id FROM ttrss_feeds WHERE