diff options
-rw-r--r-- | system/libraries/Loader.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/system/libraries/Loader.php b/system/libraries/Loader.php index e090cc09c..1d88841dd 100644 --- a/system/libraries/Loader.php +++ b/system/libraries/Loader.php @@ -79,6 +79,11 @@ class CI_Loader { return FALSE;
}
+ if ( ! is_null($params) AND ! is_array($params))
+ {
+ $params = NULL;
+ }
+
if (is_array($library))
{
foreach ($library as $class)
|