commit | 3cf174bef3dba5e7e30a9524195aac7773e4d444 | [log] [tgz] |
---|---|---|
author | Joel Limberg <me@joellimberg.com> | Fri Jul 13 20:49:57 2012 +0300 |
committer | Joel Limberg <me@joellimberg.com> | Fri Jul 13 20:49:57 2012 +0300 |
tree | 250f7f9b41549e70b32993de3d630e5f1f461d71 | |
parent | 975504f33550030ef4a92310c23b59f7b25a7b84 [diff] [blame] |
Loader::model() - rename foreach ($model AS $single_model) to ($model AS $class). Consistent with ::library() and ::_ci_load_class()
diff --git a/system/core/Loader.php b/system/core/Loader.php index 93b8f9e..bfcef1c 100644 --- a/system/core/Loader.php +++ b/system/core/Loader.php
@@ -237,9 +237,9 @@ { if (is_array($model)) { - foreach ($model as $single_model) + foreach ($model as $class) { - $this->model($single_model); + $this->model($class); } return; }