Browse Source

解决innerurl 转意的问题

stanley-king 8 năm trước cách đây
mục cha
commit
454de6ba05
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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']);
                 }
             }