Explorar o código

解决innerurl 转意的问题

stanley-king %!s(int64=8) %!d(string=hai) anos
pai
achega
454de6ba05
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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']);
                 }
             }