small OPML fix (closes #32)
This commit is contained in:
parent
f18d0d94b4
commit
380539cebd
5
opml.php
5
opml.php
|
@ -134,6 +134,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
$cat_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'));
|
$feed_url = db_escape_string($outline->get_attribute('xmlUrl'));
|
||||||
$site_url = db_escape_string($outline->get_attribute('htmlUrl'));
|
$site_url = db_escape_string($outline->get_attribute('htmlUrl'));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue