]> git.wh0rd.org Git - tt-rss.git/commitdiff
check_for_update: fix calling sanitize_rss()
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 24 Aug 2007 01:17:54 +0000 (02:17 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 24 Aug 2007 01:17:54 +0000 (02:17 +0100)
functions.php

index ce63eae12528239f2965e51154c3c6a8b6c3444f..ca3d9d3ba7db253f7e749e1c56bf404d8532a914 100644 (file)
                        $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"]);