In application/third_party/MX/Loader.php you can do the following...
Under public function view($view, $vars = array(), $return = FALSE) Look for... (Line 300)
return $this->_ci_load(array('_ci_view' => $view, '_ci_vars' => $this->_ci_object_to_array($vars), '_ci_return' => $return));
Replace with :
if (method_exists($this, '_ci_object_to_array')) { return $this->_ci_load(array('_ci_view' => $view, '_ci_vars' => $this->_ci_object_to_array($vars), '_ci_return' => $return)); } else { return $this->_ci_load(array('_ci_view' => $view, '_ci_vars' => $this->_ci_prepare_view_vars($vars), '_ci_return' => $return)); }
Komentar
Posting Komentar