PMCORE-3401

This commit is contained in:
Andrea Adamczyk
2021-10-11 15:49:38 -04:00
parent 0e4dc33566
commit 9f82ff79a9

View File

@@ -150,7 +150,7 @@ class Light extends Api
);
$response = array();
foreach ($data as $key => $counterList) {
if (isset($structure[$counterList['item']])) {
if (isset($structure[isset($counterList['item']) ? $counterList['item'] : null])) {
$name = $structure[$counterList['item']];
$response[$name] = $counterList['count'];
} else {