mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 14:25:55 +00:00
small OPML fix (closes #32)
This commit is contained in:
7
opml.php
7
opml.php
@@ -132,8 +132,13 @@
|
|||||||
if (!$feed_title) {
|
if (!$feed_title) {
|
||||||
$feed_title = db_escape_string($outline->get_attribute('title'));
|
$feed_title = db_escape_string($outline->get_attribute('title'));
|
||||||
}
|
}
|
||||||
|
|
||||||
$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'));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user