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:
commit
7fbe0a5d4f
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user