From d571bd44161ee9783114084ee3e8d3dd2324bd0a Mon Sep 17 00:00:00 2001 From: Torkil Sinkaberg Johnsen Date: Tue, 11 Jun 2013 15:21:17 +0200 Subject: [PATCH] Typo in function name "strotolower". --- application/core/MY_Controller.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/core/MY_Controller.php b/application/core/MY_Controller.php index 58dbf92..5820c8b 100644 --- a/application/core/MY_Controller.php +++ b/application/core/MY_Controller.php @@ -16,8 +16,8 @@ public function __construct() parent::__construct(); $this->load->helper('inflector'); - - $model = strotolower(singular(get_class($this))); + + $model = strtolower(singular(get_class($this))); if (file_exists(APPPATH . 'models/' . $model . '_model.php')) { @@ -77,7 +77,7 @@ public function _remap($method, $parameters) protected function _run_filters($what, $action, $parameters) { $what = $what . '_filters'; - + foreach ($this->$what as $filter => $details) { if (is_string($details))