From 1c9fd68be8c9936b30ab15679bcb4f8597f31314 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Fri, 12 Mar 2010 03:23:19 +0000 Subject: [PATCH] MINOR Updated r100966 to include spaces on ternary operator for readability and coding conventions git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@100975 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(