From 30037f269ce9cbd4225c7ef574e592cf3f950605 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Mon, 4 Oct 2010 04:27:34 +0000 Subject: [PATCH] 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 --- forms/MoneyField.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forms/MoneyField.php b/forms/MoneyField.php index faf2fd7a0..cd95be425 100644 --- a/forms/MoneyField.php +++ b/forms/MoneyField.php @@ -55,7 +55,7 @@ class MoneyField extends FormField { $field = new DropdownField( "{$this->name}[Currency]", _t('MoneyField.FIELDLABELCURRENCY', 'Currency'), - ArrayLib::is_associative($allowedCurrencies)?$allowedCurrencies:array_combine($allowedCurrencies,$allowedCurrencies) + ArrayLib::is_associative($allowedCurrencies) ? $allowedCurrencies : array_combine($allowedCurrencies,$allowedCurrencies) ); } else { $field = new TextField(