mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-07-24 10:12:54 +02:00
Fix falsy values en keys (HtmlVariableListWidget) (#765)
This commit is contained in:
@@ -261,7 +261,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
|
||||
className: csscls('kvlist htmlvarlist'),
|
||||
|
||||
itemRenderer: function(dt, dd, key, value) {
|
||||
$('<span />').attr('title', $('<i />').html(key || '').text()).html(key || '').appendTo(dt);
|
||||
$('<span />').attr('title', $('<i />').html(key ?? '').text()).html(key ?? '').appendTo(dt);
|
||||
dd.html(value && value.value || value);
|
||||
|
||||
if (value && value.xdebug_link) {
|
||||
|
Reference in New Issue
Block a user