PMCORE-3401
This commit is contained in:
@@ -150,7 +150,7 @@ class Light extends Api
|
|||||||
);
|
);
|
||||||
$response = array();
|
$response = array();
|
||||||
foreach ($data as $key => $counterList) {
|
foreach ($data as $key => $counterList) {
|
||||||
if (isset($structure[$counterList['item']])) {
|
if (isset($structure[isset($counterList['item']) ? $counterList['item'] : null])) {
|
||||||
$name = $structure[$counterList['item']];
|
$name = $structure[$counterList['item']];
|
||||||
$response[$name] = $counterList['count'];
|
$response[$name] = $counterList['count'];
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user