Merge branch 'develop'

This commit is contained in:
snipe 2018-01-25 03:01:35 -08:00
commit 029dd43ecd

View file

@ -81,7 +81,7 @@ class AssetsTransformer
];
if (($asset->model->fieldset) && (count($asset->model->fieldset->fields)> 0)) {
if (($asset->model) && ($asset->model->fieldset) && (count($asset->model->fieldset->fields)> 0)) {
$fields_array = array();
foreach ($asset->model->fieldset->fields as $field) {