Skip to content

Commit

Permalink
If [1] found give error of function getModule into a not object
Browse files Browse the repository at this point in the history
  • Loading branch information
danelsan committed Jan 25, 2015
1 parent 1050ea6 commit 2d239b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions upload/catalog/controller/common/content_top.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public function index() {
}

if (isset($part[1])) {
$this->load->model('extension/module');
$setting_info = $this->model_extension_module->getModule($part[1]);

if ($setting_info && $setting_info['status']) {
Expand Down

0 comments on commit 2d239b1

Please sign in to comment.