Permalink
Browse files

MINOR Updated r100966 to include spaces on ternary operator for reada…

…bility and coding conventions (from r100975)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@111552 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 0598665 commit 30037f269ce9cbd4225c7ef574e592cf3f950605 @sminnee sminnee committed Oct 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 forms/MoneyField.php
View
@@ -55,7 +55,7 @@ protected function FieldCurrency() {
$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(

0 comments on commit 30037f2

Please sign in to comment.