bug
This commit is contained in:
parent
45a4a9c571
commit
bdd6d959a2
|
@ -803,7 +803,10 @@ class Metadata implements IParametrable {
|
||||||
if ($items === null) return;
|
if ($items === null) return;
|
||||||
$index = 0;
|
$index = 0;
|
||||||
foreach ($items as $key => &$item) {
|
foreach ($items as $key => &$item) {
|
||||||
if ($key === $index++) $key = null;
|
if ($key === $index) {
|
||||||
|
$key = null;
|
||||||
|
$index++;
|
||||||
|
}
|
||||||
$this->ensureSchema($item, $key, $params);
|
$this->ensureSchema($item, $key, $params);
|
||||||
}; unset($item);
|
}; unset($item);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue