diff --git a/application/third_party/MX/Loader.php b/application/third_party/MX/Loader.php index 8f4435b..dde55bc 100644 --- a/application/third_party/MX/Loader.php +++ b/application/third_party/MX/Loader.php @@ -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); @@ -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); } @@ -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'; \ No newline at end of file +(class_exists('CI', FALSE)) OR require dirname(__FILE__).'/Ci.php';