Compare commits
No commits in common. "007c3368f76e2acee6b0ade86c86d6c50462760b" and "43c088850bcd3786790e2d424dc969f7e7bd20d7" have entirely different histories.
007c3368f7
...
43c088850b
@ -45,11 +45,7 @@ class ArrayUtility
|
|||||||
$value = self::removeEmptyStrings($value);
|
$value = self::removeEmptyStrings($value);
|
||||||
} else {
|
} else {
|
||||||
if (is_string($value) && !strlen($value)) {
|
if (is_string($value) && !strlen($value)) {
|
||||||
if (is_array($array)) {
|
|
||||||
unset($array[$key]);
|
unset($array[$key]);
|
||||||
} else {
|
|
||||||
unset($array->$key);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user