mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 18:03:39 +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();
|
||||
|
||||
// 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": {}
|
||||
}*/
|
||||
}
|
||||
|
||||
$headers = [];
|
||||
$curlOpts = [
|
||||
|
Loading…
Reference in New Issue
Block a user