Index: branches/5.2.x/core/units/helpers/controls/edit_picker_helper.php =================================================================== diff -u -N -r14244 -r14628 --- branches/5.2.x/core/units/helpers/controls/edit_picker_helper.php (.../edit_picker_helper.php) (revision 14244) +++ branches/5.2.x/core/units/helpers/controls/edit_picker_helper.php (.../edit_picker_helper.php) (revision 14628) @@ -1,6 +1,6 @@ GetFieldOptions($store_field); - $constrain = array_key_exists('option_constrain', $field_options) ? $field_options['option_constrain'] : false; + $constrain = array_key_exists('option_constrain', $field_options) ? $field_options['option_constrain'] + : false; - if ($mode == 'filter') { + if ( $mode == 'filter' ) { // filter on edit form return $constrain; } - elseif ($constrain) { + elseif ( $constrain ) { // load or save return sprintf($field_options['options_sql'], $field_options['option_key_field']); }