mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR Updated r100966 to include spaces on ternary operator for readability and coding conventions (from r100975)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@111552 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
059866556a
commit
30037f269c
@ -55,7 +55,7 @@ class MoneyField extends FormField {
|
|||||||
$field = new DropdownField(
|
$field = new DropdownField(
|
||||||
"{$this->name}[Currency]",
|
"{$this->name}[Currency]",
|
||||||
_t('MoneyField.FIELDLABELCURRENCY', 'Currency'),
|
_t('MoneyField.FIELDLABELCURRENCY', 'Currency'),
|
||||||
ArrayLib::is_associative($allowedCurrencies)?$allowedCurrencies:array_combine($allowedCurrencies,$allowedCurrencies)
|
ArrayLib::is_associative($allowedCurrencies) ? $allowedCurrencies : array_combine($allowedCurrencies,$allowedCurrencies)
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
$field = new TextField(
|
$field = new TextField(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user