Commit d42de484 authored by Côme Chilliet's avatar Côme Chilliet

🚑 fix(HiddenArrayAttribute) Make sure array indexes are contiguous

issue #6081
parent b55a2b32
......@@ -823,6 +823,15 @@ class HiddenArrayAttribute extends HiddenAttribute
}
}
}
public function computeLdapValue ()
{
if (is_array($this->value)) {
return array_values($this->value);
} else {
return parent::computeLdapValue();
}
}
}
/*!
......
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