check_for_update: fix calling sanitize_rss()

This commit is contained in:
Andrew Dolgov 2007-08-24 02:17:54 +01:00
parent e780d1d252
commit dcf7fd08d1
1 changed files with 2 additions and 2 deletions

View File

@ -3169,8 +3169,8 @@
$latest_version = trim(preg_replace("/(Milestone)|(completed)/", "", $last_title));
if (ENABLE_SIMPLEPIE) {
$release_url = sanitize_rss($latest_item->get_link());
$content = sanitize_rss($latest_item->get_description());
$release_url = sanitize_rss($link, $latest_item->get_link());
$content = sanitize_rss($link, $latest_item->get_description());
} else {
$release_url = sanitize_rss($link, $latest_item["link"]);
$content = sanitize_rss($link, $latest_item["description"]);