summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-04-04 20:55:09 +0200
committerAndrey Andreev <narf@devilix.net>2015-04-04 20:55:09 +0200
commite36d048b068418b76551fb9eaa2c32a7b40f3812 (patch)
tree3f395782794c23aa68cc57ec8ee68120e245f71b /system/core
parent85d8ccf7fdf45af86b844046ec22720c2c25745d (diff)
Fix #3733
Close #3734
Diffstat (limited to 'system/core')
-rw-r--r--system/core/Loader.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php
index 007378ee2..9205ad1b6 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -1307,10 +1307,7 @@ class CI_Loader {
}
// Load all other libraries
- foreach ($autoload['libraries'] as $item)
- {
- $this->library($item);
- }
+ $this->library($autoload['libraries']);
}
// Autoload models