remove commented out fixing of policies as object

This commit is contained in:
Ralf Becker 2019-07-30 18:17:17 +02:00
parent 824537068d
commit 02c21fe2f9

View File

@ -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 = [