fix escaping of entry_author for simplepie (closes #190)

This commit is contained in:
Andrew Dolgov 2008-02-13 10:27:09 +01:00
parent a0c42c650c
commit d1ee9106e9
1 changed files with 2 additions and 0 deletions

View File

@ -882,6 +882,8 @@
$entry_author_item = $item->get_author();
$entry_author = $entry_author_item->get_name();
if (!$entry_author) $entry_author = $entry_author_item->get_email();
$entry_author = db_escape_string($entry_author);
}
} else {
$entry_comments = strip_tags($item["comments"]);