diff --git a/src/DebugBar/Resources/widgets.js b/src/DebugBar/Resources/widgets.js index 8541bf4..22e8262 100644 --- a/src/DebugBar/Resources/widgets.js +++ b/src/DebugBar/Resources/widgets.js @@ -261,7 +261,7 @@ if (typeof(PhpDebugBar) == 'undefined') { className: csscls('kvlist htmlvarlist'), itemRenderer: function(dt, dd, key, value) { - $('').attr('title', $('').html(key || '').text()).html(key || '').appendTo(dt); + $('').attr('title', $('').html(key ?? '').text()).html(key ?? '').appendTo(dt); dd.html(value && value.value || value); if (value && value.xdebug_link) {