mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-07-26 11:10:46 +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'),
|
className: csscls('kvlist htmlvarlist'),
|
||||||
|
|
||||||
itemRenderer: function(dt, dd, key, value) {
|
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);
|
dd.html(value && value.value || value);
|
||||||
|
|
||||||
if (value && value.xdebug_link) {
|
if (value && value.xdebug_link) {
|
||||||
|
Reference in New Issue
Block a user