1
0
mirror of https://github.com/maximebf/php-debugbar.git synced 2025-01-17 05:18:32 +01:00

Merge pull request #22 from lunika/master

in variableListWidget, check if v variable is not null
This commit is contained in:
Maxime Bouroumeau-Fuseau 2013-09-11 06:01:19 -07:00
commit 7fbe0a5d4f

View File

@ -153,7 +153,7 @@ if (typeof(PhpDebugBar) == 'undefined') {
dt.text(key);
var v = value;
if (v.length > 100) {
if (v && v.length > 100) {
v = v.substr(0, 100) + "...";
}
dd.text(v).click(function() {