[Form] Static call TimezoneType::getTimezones
This commit is contained in:
parent
945596b7cf
commit
fe48ab1f8b
@ -66,7 +66,7 @@ class TimezoneType extends AbstractType implements ChoiceLoaderInterface
|
||||
return $this->choiceList;
|
||||
}
|
||||
|
||||
return $this->choiceList = new ArrayChoiceList($this->getTimezones(), $value);
|
||||
return $this->choiceList = new ArrayChoiceList(self::getTimezones(), $value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user