We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdf7daf commit 4b83afcCopy full SHA for 4b83afc
1 file changed
templates/element/request_panel.php
@@ -32,7 +32,13 @@
32
<?php endif; ?>
33
34
<h4><?= __d('debug_kit', 'Attributes') ?></h4>
35
-<?= $this->Toolbar->dump($attributes); ?>
+<?php
36
+if (empty($attributes)):
37
+ echo '<p class="info">' . __d('debug_kit', 'No attributes data.') . '</p>';
38
+else:
39
+ echo $this->Toolbar->dump($attributes);
40
+endif;
41
+?>
42
43
<h4><?= __d('debug_kit', 'Post data') ?></h4>
44
<?php
0 commit comments