1
0
Fork 0

Fix var name

pull/48/head
Jordi Boggiano 2011-10-02 20:18:46 +02:00
parent e109213dfa
commit 806c5f200a
1 changed files with 2 additions and 2 deletions

View File

@ -22,9 +22,9 @@ class JsonLoader extends ArrayLoader
public function load($json)
{
if ($json instanceof JsonFile) {
$json = $json->read();
$config = $json->read();
} elseif (is_string($json)) {
$json = JsonFile::parseJson($json);
$config = JsonFile::parseJson($json);
}
return parent::load($config);