Skip to content

Commit

Permalink
Fix "Undefined index" in module mapper.
Browse files Browse the repository at this point in the history
  • Loading branch information
blackcoder87 committed Aug 11, 2017
1 parent 2708d61 commit 5074946
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/modules/admin/mappers/Module.php
Expand Up @@ -162,7 +162,7 @@ public function getModuleByKey($key) {
$moduleModel->setLink($moduleRow['link']);
$moduleModel->setIconSmall($moduleRow['icon_small']);
$moduleModel->setAuthor($moduleRow['author']);
$moduleModel->addContent($moduleRow['locale'], ['name' => $moduleRow['name'], 'description' => $moduleRow['description']]);

return $moduleModel;
}

Expand Down

0 comments on commit 5074946

Please sign in to comment.