diff --git a/templates/element/variables_panel.php b/templates/element/variables_panel.php index 986eea5a..63c152ad 100644 --- a/templates/element/variables_panel.php +++ b/templates/element/variables_panel.php @@ -14,7 +14,7 @@ /** * @var \DebugKit\View\AjaxView $this * @var string $error - * @var bool $sort + * @var bool|null $sort * @var array $variables * @var array $content * @var array $errors @@ -62,7 +62,7 @@ class="js-debugkit-sort-variables" Toolbar->setSort($sort); + $this->Toolbar->setSort($sort ?? false); echo $this->Toolbar->dumpNodes($variables); endif;