diff --git a/src/DebugBar/Resources/widgets/sqlqueries/widget.js b/src/DebugBar/Resources/widgets/sqlqueries/widget.js index f849fee..80be93b 100644 --- a/src/DebugBar/Resources/widgets/sqlqueries/widget.js +++ b/src/DebugBar/Resources/widgets/sqlqueries/widget.js @@ -35,8 +35,10 @@ if (stmt.params && !$.isEmptyObject(stmt.params)) { var table = $('
Params
').addClass(csscls('params')).appendTo(li); for (var key in stmt.params) { - table.append('' + key + '' + stmt.params[key] + ''); + if (typeof stmt.params[key] !== 'function') { + table.append('' + key + '' + stmt.params[key] + ''); + } } li.css('cursor', 'pointer').click(function() { if (table.is(':visible')) {