diff options
author | Andrew Dolgov <[email protected]> | 2006-01-09 13:19:53 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-01-09 13:19:53 +0100 |
commit | 380539cebd3289dd000b86fd328cfeb45e8d8602 (patch) | |
tree | dea68a887617eadaf69e76e54585d7d64b4ae212 | |
parent | f18d0d94b41a9859e6f3aa76fcded0d654269e5b (diff) |
small OPML fix (closes #32)
-rw-r--r-- | opml.php | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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')); |