Skip to content

Commit

Permalink
Fixed loading an array of libraries.
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Sturgeon committed Apr 3, 2011
1 parent d6e580a commit 08b5169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/core/Loader.php
Expand Up @@ -79,7 +79,7 @@ function library($library = '', $params = NULL, $object_name = NULL)
{ {
if (is_array($library)) if (is_array($library))
{ {
foreach ($library as $read) foreach ($library as $class)
{ {
$this->library($class, $params); $this->library($class, $params);
} }
Expand Down

0 comments on commit 08b5169

Please sign in to comment.