diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-07-13 20:38:15 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-07-13 20:38:15 +0200 |
commit | f457920110f23b8dbdad3ad41cbc573c2af9d99c (patch) | |
tree | 20e342652327fdf5e24b996bcec7f3eb6204e9e5 | |
parent | 685cdd7a28a8e7ec5a3769e2b0d2cdd40c8f6bf9 (diff) | |
parent | 3cf174bef3dba5e7e30a9524195aac7773e4d444 (diff) |
Merge pull request #1615 from joellimberg/patch-1
Rename $babe to $class, in foreach ($model AS $babe) {...}
-rw-r--r-- | system/core/Loader.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php index d51ee0b34..bfcef1cbc 100644 --- a/system/core/Loader.php +++ b/system/core/Loader.php @@ -237,9 +237,9 @@ class CI_Loader { { if (is_array($model)) { - foreach ($model as $babe) + foreach ($model as $class) { - $this->model($babe); + $this->model($class); } return; } |