Fixed missing slash in stdClass

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-11-15 17:04:06 +00:00
parent ae259f36ae
commit 50431c046f

View file

@ -131,7 +131,7 @@ class AssetsTransformer
$array['custom_fields'] = $fields_array;
}
} else {
$array['custom_fields'] = new stdClass; // HACK to force generation of empty object instead of empty list
$array['custom_fields'] = new \stdClass; // HACK to force generation of empty object instead of empty list
}
$permissions_array['available_actions'] = [