From: Andrew Dolgov Date: Mon, 9 Jan 2006 12:19:53 +0000 (+0100) Subject: small OPML fix (closes #32) X-Git-Tag: schema_freeze_for_1.1.2~9 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=380539cebd3289dd000b86fd328cfeb45e8d8602;p=tt-rss.git small OPML fix (closes #32) --- diff --git a/opml.php b/opml.php index b0107e42..23a28277 100644 --- a/opml.php +++ b/opml.php @@ -132,8 +132,13 @@ if (!$feed_title) { $feed_title = db_escape_string($outline->get_attribute('title')); } - + $cat_title = db_escape_string($outline->get_attribute('title')); + + if (!$cat_title) { + $cat_title = db_escape_string($outline->get_attribute('text')); + } + $feed_url = db_escape_string($outline->get_attribute('xmlUrl')); $site_url = db_escape_string($outline->get_attribute('htmlUrl'));