From 10fbe73af545177514ef79ea64537b8535ec82ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=99=E8=BF=B0=E3=80=81=E5=88=AB=E7=A6=BB?= Date: Wed, 20 Mar 2024 12:40:41 +0800 Subject: [PATCH] Update extend.func.php --- src/system/extend.func.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/system/extend.func.php b/src/system/extend.func.php index 3aa60124..d566793c 100755 --- a/src/system/extend.func.php +++ b/src/system/extend.func.php @@ -61,12 +61,11 @@ function obtainalt($newalt) $row = $dsql->GetOne("SELECT title FROM `#@__archives` WHERE id='$myid'"); //图片注释自动为标题 $newalt = str_ireplace(array('alt=""', 'alt=\'\'', 'title=""', 'title=\'\''), "", $newalt); - $newalt = str_ireplace("\"".$row['title']."\"", ">", $newalt); + $newalt = str_ireplace(" /", "", $newalt); return $newalt; } //联动单筛选{dede:php}obtainfilter(模型id,类型,'字段1,字段2');{/dede:php}类型表示前台展现方式对应case值