Skip to content

Commit

Permalink
Fix translations for multiple domains
Browse files Browse the repository at this point in the history
  • Loading branch information
Bozhidar Hristov committed Feb 6, 2017
1 parent 0bc4304 commit 41aaabc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Repository/Translation.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function getTranslationsByLocale($locale, $catalogue = "messages")
public function getAllTranslationsByLocale($locale)
{
$query = $this->getEntityManager()->createQuery(
"SELECT translation,token,language FROM ObjectBGTranslationBundle:Translation translation JOIN t.translationToken token JOIN translation.language language WHERE language.locale = :locale"
"SELECT translation,token,language FROM ObjectBGTranslationBundle:Translation translation JOIN translation.translationToken token JOIN translation.language language WHERE language.locale = :locale"
);
$query->setParameter("locale", $locale);
$r = $query->getResult();
Expand Down

0 comments on commit 41aaabc

Please sign in to comment.