Merge branch '1.9' into php8

This commit is contained in:
xiaomlove
2025-11-02 21:59:30 +07:00
5 changed files with 36 additions and 18 deletions
-4
View File
@@ -223,10 +223,6 @@ function formatAdUrl($adid, $url, $content, $newWindow=true)
return formatUrl("adredir.php?id=".$adid."&url=".rawurlencode($url), $newWindow, $content);
}
function formatUrl($url, $newWindow = false, $text = '', $linkClass = '') {
$src = filter_src($url);
if (empty($src)) {
return "";
}
if (!$text) {
$text = $url;
}