diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2012-06-04 21:41:53 +0200 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2012-06-04 21:41:53 +0200 |
commit | 10d78f61399dd647ada0afaa43e5e9ec48d55e82 (patch) | |
tree | cf68ba0c3872ec68368d4cf10a47ef16adf8e90b /system/core | |
parent | c2bb1073e476a3928913b384cd5f7bcad6c21b5b (diff) |
Loader was too specific about === "", some cases were NULL.
Signed-off-by: Phil Sturgeon <email@philsturgeon.co.uk>
Diffstat (limited to 'system/core')
-rw-r--r-- | system/core/Loader.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php index 66a9e7faa..09e948714 100644 --- a/system/core/Loader.php +++ b/system/core/Loader.php @@ -261,7 +261,7 @@ class CI_Loader { $model = substr($model, $last_slash); } - if ($name === '') + if (empty($name)) { $name = $model; } |