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:
snipe 2022-11-15 17:04:58 +00:00 committed by GitHub
commit 6dc0846f38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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'] = [