mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-28 08:49:00 +01:00
remove commented out fixing of policies as object
This commit is contained in:
parent
824537068d
commit
02c21fe2f9
@ -97,10 +97,10 @@ class Udm
|
|||||||
$curl = curl_init();
|
$curl = curl_init();
|
||||||
|
|
||||||
// fix error: Request argument "policies" is not a "dict" (PHP encodes empty arrays as array, not object)
|
// fix error: Request argument "policies" is not a "dict" (PHP encodes empty arrays as array, not object)
|
||||||
/*if (array_key_exists('policies', $_payload) && empty($_payload['policies']))
|
if (array_key_exists('policies', $_payload) && empty($_payload['policies']))
|
||||||
{
|
{
|
||||||
$_payload['policies'] = new \stdClass(); // force "policies": {}
|
$_payload['policies'] = new \stdClass(); // force "policies": {}
|
||||||
}*/
|
}
|
||||||
|
|
||||||
$headers = [];
|
$headers = [];
|
||||||
$curlOpts = [
|
$curlOpts = [
|
||||||
|
Loading…
Reference in New Issue
Block a user