diff --git a/plugins/system/debug/debug.php b/plugins/system/debug/debug.php index 1b98e7db1145b..7481dfe0cd571 100644 --- a/plugins/system/debug/debug.php +++ b/plugins/system/debug/debug.php @@ -868,7 +868,7 @@ protected function displayQueries() // Fix first bar width. $minWidth = 0.3; - if ($bars[0]->width < $minWidth && isset($bars[1])) + if (isset($bars[0]) && $bars[0]->width < $minWidth && isset($bars[1])) { $bars[1]->pre -= ($minWidth - $bars[0]->width);