mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Merge pull request #12117 from snipe/fixes/pr_12106_missing_slash_for_stdClass
Fixes PR #12106 missing slash for std class
This commit is contained in:
commit
6dc0846f38
|
@ -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