simplepie: properly set feed title

This commit is contained in:
Andrew Dolgov 2007-08-23 12:39:09 +01:00
parent 0e2dd39a35
commit fb486a3383
1 changed files with 5 additions and 1 deletions

View File

@ -497,7 +497,11 @@
if (!$registered_title || $registered_title == "[Unknown]") {
if (ENABLE_SIMPLEPIE) {
$feed_title = $rss->get_title();
} else {
$feed_title = db_escape_string($rss->channel["title"]);
}
if (defined('DAEMON_EXTENDED_DEBUG') || $_GET['xdebug']) {
_debug("update_rss_feed: registering title: $feed_title");