dever 6 سال پیش
والد
کامیت
e1a25fbb6c
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      main/src/Journal.php

+ 1 - 1
main/src/Journal.php

@@ -723,7 +723,7 @@ class Journal extends Core
         unset($info['author_id']);
         unset($info['content']);
 
-        if ($info['type'] == 1 && $info['text']) {
+        if (($info['type'] == 1 || $info['type'] == 7 || $info['type'] == 8) && $info['text']) {
             $info['text'] = Dever::array_decode($info['text']);
             if ($info['text']) {
                 foreach ($info['text'] as $k => $v) {