This commit is contained in:
Jephté Clain 2024-02-15 12:29:10 +04:00
parent 45a4a9c571
commit bdd6d959a2
1 changed files with 4 additions and 1 deletions

View File

@ -803,7 +803,10 @@ class Metadata implements IParametrable {
if ($items === null) return;
$index = 0;
foreach ($items as $key => &$item) {
if ($key === $index++) $key = null;
if ($key === $index) {
$key = null;
$index++;
}
$this->ensureSchema($item, $key, $params);
}; unset($item);
}