#
git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3474 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
parent
6241856464
commit
edb2a8612f
1 changed files with 4 additions and 2 deletions
|
|
@ -55,8 +55,10 @@ class TravelerType extends AbstractType
|
|||
self::$NATIONALITY_CHOICES = [
|
||||
'Nationalität (Bitte wählen)' => '',
|
||||
];
|
||||
foreach ($nationalities as $nationality){
|
||||
self::$NATIONALITY_CHOICES[$nationality['name']] = $nationality['id'];
|
||||
if($nationalities){
|
||||
foreach ($nationalities as $nationality){
|
||||
self::$NATIONALITY_CHOICES[$nationality['name']] = $nationality['id'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue