From d4f270e6b9367d89911408594110a1bd95ede445 Mon Sep 17 00:00:00 2001 From: Benn Oshrin Date: Thu, 23 Dec 2021 18:45:00 -0500 Subject: [PATCH] Fix group type dereference in AttributeManager (NOJIRA) --- app/src/Lib/Match/AttributeManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') {