Commit 773a23ad authored by Kristian Feldsam's avatar Kristian Feldsam
Browse files

Fixed undefined offset error


Signed-off-by: Kristian Feldsam's avatarKristian Feldsam <feldsam@gmail.com>
parent 2b55370d
......@@ -114,7 +114,7 @@ class OneBase {
if (!in_array($k, array_keys($ar))) {
$ar[$k] = $child;
} else {
if ($ar[$k][0]) {
if (isset($ar[$k][0])) {
$ar[$k][] = $child;
} else {
$ar[$k] = array($ar[$k]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment