Skip to content

Commit 248c5cd

Browse files
committed
Tweak template type
1 parent 3fe312b commit 248c5cd

File tree

1 file changed

+1
-1
lines changed
  • src/DebugBar/Resources/widgets/templates

1 file changed

+1
-1
lines changed

src/DebugBar/Resources/widgets/templates/widget.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
if (typeof(tpl.param_count) != 'undefined') {
2727
$('<span title="Parameter count" />').addClass(csscls('param-count')).text(tpl.param_count).appendTo(li);
2828
}
29-
if (typeof(tpl.type) != 'undefined') {
29+
if (typeof(tpl.type) != 'undefined' && tpl.type) {
3030
$('<span title="Type" />').addClass(csscls('type')).text(tpl.type).appendTo(li);
3131
}
3232
if (tpl.params && !$.isEmptyObject(tpl.params)) {

0 commit comments

Comments
 (0)