mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -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;
|
$array['custom_fields'] = $fields_array;
|
||||||
}
|
}
|
||||||
} else {
|
} 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'] = [
|
$permissions_array['available_actions'] = [
|
||||||
|
|
Loading…
Reference in a new issue