소스 검색

解决innerurl 转意的问题

stanley-king 8 년 전
부모
커밋
454de6ba05
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      data/model/mb_special.model.php

+ 1 - 1
data/model/mb_special.model.php

@@ -329,7 +329,7 @@ class mb_specialModel extends Model
             foreach ($item as &$img)
             {
                 if(!is_array($img)) continue;
-                if ($img['type'] == 'url') {
+                if ($img['type'] == 'url' || $img['type'] == 'innerurl') {
                     $img['data'] =  htmlspecialchars_decode($img['data']);
                 }
             }