mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 18:18:46 +02:00
Merge remote-tracking branch 'origin/support/3.2' into support/3.2
This commit is contained in:
@@ -676,7 +676,7 @@ abstract class ItopTestCase extends KernelTestCase
|
||||
curl_setopt_array($ch, $aCurlOptions);
|
||||
if ($this->IsArrayOfArray($aPostFields)) {
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($aPostFields));
|
||||
} elseif (!empty($aPostFields)) {
|
||||
} else {
|
||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $aPostFields);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user