Skip to content

Commit

Permalink
Update system/Debug/Toolbar.php
Browse files Browse the repository at this point in the history
Co-authored-by: Lonnie Ezell <lonnieje@gmail.com>
  • Loading branch information
najdanovicivan and lonnieezell authored Nov 10, 2021
1 parent e44008b commit 395f71f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Debug/Toolbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ protected function structureTimelineData(array $elements): array
*/
protected function collectVarData(): array
{
if (! $this->config->collectVarData) {
if (! ($this->config->collectVarData ?? true)) {
return [];
}

Expand Down

0 comments on commit 395f71f

Please sign in to comment.