small OPML fix (closes #32)
This commit is contained in:
parent
f18d0d94b4
commit
380539cebd
7
opml.php
7
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'));
|
||||
|
||||
|
|
Loading…
Reference in New Issue