Skip to content

Commit 3d771f1

Browse files
committed
defining variable
1 parent 36c8261 commit 3d771f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/AppBundle/Twig/AppExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ public function getLocales()
8787
{
8888
$localeCodes = explode('|', $this->locales);
8989

90+
$locales = array();
9091
foreach ($localeCodes as $localeCode) {
9192
$locales[] = array('code' => $localeCode, 'name' => Intl::getLocaleBundle()->getLocaleName($localeCode, $localeCode));
9293
}

0 commit comments

Comments
 (0)