Skip to content

Commit

Permalink
Fix bug with loading entities
Browse files Browse the repository at this point in the history
  • Loading branch information
getdatakick committed Jun 21, 2019
1 parent 7ffa030 commit b8442a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/classes/front-app.php
Expand Up @@ -273,7 +273,7 @@ public function getEntities() {
}

private function loadEntities($entities=null) {
$products = is_null($entities) ? [] : $entities['products'];
$products = is_null($entities) ? [] : $entities['product'];
foreach ($this->lists as $list) {
$products = $list->getProductEntities($products);
}
Expand Down

0 comments on commit b8442a4

Please sign in to comment.