We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5957eb0 commit 031ed45Copy full SHA for 031ed45
src/controllers/LogViewerController.php
@@ -72,7 +72,7 @@ public function index()
72
return $data;
73
}
74
75
- if (is_array($data['logs'])) {
+ if (is_array($data['logs']) && count($data['logs']) > 0) {
76
$firstLog = reset($data['logs']);
77
if (!$firstLog['context'] && !$firstLog['level']) {
78
$data['standardFormat'] = false;
0 commit comments