cqpCow 11 tháng trước cách đây
mục cha
commit
f3c4c74ad7
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      app/Service/OperationLogService.php

+ 2 - 0
app/Service/OperationLogService.php

@@ -200,6 +200,8 @@ class OperationLogService extends Service
         $result = array_filter(config('oa'), function ($array) use ($key, $value) {
             return $array[$key] == $value;
         });
+        $result = array_values($result);
+
         if (!isset($result[0]['children'])) return [true, ''];
         $result = $result[0];
         try {