summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2011-04-03 19:05:42 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-04-03 19:05:42 +0200
commit08b5169a5181706156c9a53229d164d9fa3aea32 (patch)
treeffd574e60b6cc96e8a0643cc98bd9d17973a3f8d /system
parentd6e580a9dbdd5a52dc31e0b2264c7fb7dd08d008 (diff)
Fixed loading an array of libraries.
Diffstat (limited to 'system')
-rw-r--r--system/core/Loader.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php
index 5c7a7eff8..278a868e6 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -79,7 +79,7 @@ class CI_Loader {
{
if (is_array($library))
{
- foreach ($library as $read)
+ foreach ($library as $class)
{
$this->library($class, $params);
}