Skip to content

Commit

Permalink
[FrameworkBundle] fixed previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Dec 8, 2011
1 parent 2cb6260 commit 4af475b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Symfony/Bundle/FrameworkBundle/Translation/Translator.php
Expand Up @@ -139,8 +139,10 @@ protected function loadCatalogue($locale)

protected function initialize()
{
foreach ($this->loaderIds as $id => $alias) {
$this->addLoader($alias, $this->container->get($id));
foreach ($this->loaderIds as $id => $aliases) {
foreach ($aliases as $alias) {
$this->addLoader($alias, $this->container->get($id));
}
}
}
}

0 comments on commit 4af475b

Please sign in to comment.