mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
Fixed missing slash in stdClass
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
ae259f36ae
commit
50431c046f
|
@ -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'] = [
|
||||
|
|
Loading…
Reference in a new issue