mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-18 11:51:29 +00:00
check_for_update: fix calling sanitize_rss()
This commit is contained in:
@@ -3169,8 +3169,8 @@
|
|||||||
$latest_version = trim(preg_replace("/(Milestone)|(completed)/", "", $last_title));
|
$latest_version = trim(preg_replace("/(Milestone)|(completed)/", "", $last_title));
|
||||||
|
|
||||||
if (ENABLE_SIMPLEPIE) {
|
if (ENABLE_SIMPLEPIE) {
|
||||||
$release_url = sanitize_rss($latest_item->get_link());
|
$release_url = sanitize_rss($link, $latest_item->get_link());
|
||||||
$content = sanitize_rss($latest_item->get_description());
|
$content = sanitize_rss($link, $latest_item->get_description());
|
||||||
} else {
|
} else {
|
||||||
$release_url = sanitize_rss($link, $latest_item["link"]);
|
$release_url = sanitize_rss($link, $latest_item["link"]);
|
||||||
$content = sanitize_rss($link, $latest_item["description"]);
|
$content = sanitize_rss($link, $latest_item["description"]);
|
||||||
|
|||||||
Reference in New Issue
Block a user