1
0
Fork 0

Fix undef var issue when removing a json config key

pull/1769/merge
Jordi Boggiano 2013-04-04 00:42:00 +02:00
parent f744ec16f5
commit 02f6a32d08
1 changed files with 1 additions and 0 deletions

View File

@ -270,6 +270,7 @@ class JsonManipulator
}
$out = '{' . $this->newline;
$elems = array();
foreach ($data as $key => $val) {
$elems[] = str_repeat($this->indent, $depth + 2) . JsonFile::encode($key). ': '.$this->format($val, $depth + 1);
}