Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions application/third_party/MX/Loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function database($params = '', $return = FALSE, $active_record = NULL) {
}

/** Load a module helper **/
public function helper($helper) {
public function helper($helper = array()) {

if (is_array($helper)) return $this->helpers($helper);

Expand All @@ -114,7 +114,7 @@ public function helper($helper) {
}

/** Load an array of helpers **/
public function helpers($helpers) {
public function helpers($helpers = array()) {
foreach ($helpers as $_helper) $this->helper($_helper);
}

Expand Down Expand Up @@ -379,4 +379,4 @@ public function _autoloader($autoload) {
}

/** load the CI class for Modular Separation **/
(class_exists('CI', FALSE)) OR require dirname(__FILE__).'/Ci.php';
(class_exists('CI', FALSE)) OR require dirname(__FILE__).'/Ci.php';