diff --git a/app/src/Lib/Match/AttributeManager.php b/app/src/Lib/Match/AttributeManager.php index 71923059e..49c8f699e 100644 --- a/app/src/Lib/Match/AttributeManager.php +++ b/app/src/Lib/Match/AttributeManager.php @@ -203,7 +203,7 @@ public function parseFromJSON(\stdClass $json) { // We have a set of objects of type $k. We group on type. foreach($v as $vobject) { // Group is default unless type is set - $g = !empty($vobject->type) ? $vobject->type : '_default'; + $g = !empty($vobject['type']) ? $vobject['type'] : '_default'; foreach($vobject as $vk => $vv) { if($vk == 'type') {