cqpCow hace 11 meses
padre
commit
f3c4c74ad7
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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 {