Skip to content

A free open source IT asset/license management system

Fixed missing slash in stdClass

snipe50431c046f59
diff --git a/app/Http/Transformers/AssetsTransformer.php b/app/Http/Transformers/AssetsTransformer.php
index 41c7c1b9a3..30744c92c0 100644
--- a/app/Http/Transformers/AssetsTransformer.php
+++ b/app/Http/Transformers/AssetsTransformer.php
@@ -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'] = [