[BUGFIX] Unset eID conditionally if in array
This commit is contained in:
parent
c83cb2622a
commit
42a035ccba
@ -123,7 +123,9 @@ trait ValidationTrait
|
|||||||
{
|
{
|
||||||
$validator = new Validator();
|
$validator = new Validator();
|
||||||
$input = ArrayUtility::removeEmptyStrings($input);
|
$input = ArrayUtility::removeEmptyStrings($input);
|
||||||
|
if (is_array($input) && array_key_exists('eID', $input)) {
|
||||||
unset($input['eID']);
|
unset($input['eID']);
|
||||||
|
}
|
||||||
//@TODO make optional when usiing rest api
|
//@TODO make optional when usiing rest api
|
||||||
//array_walk_recursive(
|
//array_walk_recursive(
|
||||||
// $input,
|
// $input,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user