WIN-2308041133\Administrator hai 1 día
pai
achega
e0918dbacc
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      app/system/controller/Forum.php

+ 3 - 0
app/system/controller/Forum.php

@@ -55,6 +55,9 @@ class Forum
                 if (!empty($item['update_time'])) {
                 if (!empty($item['update_time'])) {
                     $item['update_time'] = date('Y-m-d H:i:s', $item['update_time']);
                     $item['update_time'] = date('Y-m-d H:i:s', $item['update_time']);
                 }
                 }
+                if (!empty($item['images'])) {
+                    $item['images'] = json_decode($item['images'], true) ?: [];
+                }
             }
             }
         }
         }