diff options
author | Andrew Dolgov <[email protected]> | 2005-09-02 16:41:24 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-09-02 16:41:24 +0100 |
commit | f179a35d12b50f5c1667726236c2d8e015861ef6 (patch) | |
tree | 6a605b640f88598475adbf0fbc7ca2f2c269236f | |
parent | 16a7aacd5683b55fb0fda8177d3c0da54f551b38 (diff) |
basic sanity checking in OPML import
-rw-r--r-- | opml.php | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |