simplepie: properly escape feed title
This commit is contained in:
parent
3c62b74874
commit
c2f8aac431
|
@ -499,7 +499,7 @@
|
||||||
if (!$registered_title || $registered_title == "[Unknown]") {
|
if (!$registered_title || $registered_title == "[Unknown]") {
|
||||||
|
|
||||||
if (ENABLE_SIMPLEPIE) {
|
if (ENABLE_SIMPLEPIE) {
|
||||||
$feed_title = $rss->get_title();
|
$feed_title = db_escape_string($rss->get_title());
|
||||||
} else {
|
} else {
|
||||||
$feed_title = db_escape_string($rss->channel["title"]);
|
$feed_title = db_escape_string($rss->channel["title"]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue