Fix undef var issue when removing a json config key

main
Jordi Boggiano 11 years ago
parent f744ec16f5
commit 02f6a32d08

@ -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);
}

Loading…
Cancel
Save