small OPML fix (closes #32)

This commit is contained in:
Andrew Dolgov 2006-01-09 13:19:53 +01:00
parent f18d0d94b4
commit 380539cebd
1 changed files with 6 additions and 1 deletions

View File

@ -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'));