From fe48ab1f8bb33dc33059510760a82ade7735d87f Mon Sep 17 00:00:00 2001 From: Roland Franssen Date: Mon, 24 Jul 2017 20:55:44 +0200 Subject: [PATCH] [Form] Static call TimezoneType::getTimezones --- src/Symfony/Component/Form/Extension/Core/Type/TimezoneType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/Form/Extension/Core/Type/TimezoneType.php b/src/Symfony/Component/Form/Extension/Core/Type/TimezoneType.php index beb83dde4f..486f0a28e4 100644 --- a/src/Symfony/Component/Form/Extension/Core/Type/TimezoneType.php +++ b/src/Symfony/Component/Form/Extension/Core/Type/TimezoneType.php @@ -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); } /**