1
0
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:
erikn69
2025-04-10 09:56:16 -05:00
committed by GitHub
parent 8cf24e3b5d
commit cf22256be7

View File

@@ -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) {