Commit 90124710 authored by Florian Azizian's avatar Florian Azizian

FIX empty array when sended as 'Array'

parent f8c046e9
Pipeline #2956 failed with stage
in 3 minutes and 8 seconds
......@@ -374,6 +374,14 @@ class MaarchWSClient extends DOMXPath
$arg,
$Element
);
if (
isset($argValue['value']) &&
is_array($argValue['value']) &&
empty($argValue['value'])
) {
$argValue['value'] = '';
}
$argHasValue = $argIsArray = false;
if (count($argValues[$argName]) > 0) {
......
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