Skip to content

Commit

Permalink
Fix unnecessary str_replace within option values
Browse files Browse the repository at this point in the history
  • Loading branch information
olafgleba committed Aug 14, 2012
1 parent 67b0a35 commit 7d8e192
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -379,7 +379,7 @@ public function render ()
$GENERATORFORMFIELDS->prepareOptionalAttributes($declare_attributes, &$_field, &$attributes);
// prepare values
$values = array();
foreach (explode(',', str_replace(' ','',$_field['value'])) as $_value) {
foreach (explode(',', $_field['value']) as $_value) {
$values[$_value] = $_value;
}
// prepare data
Expand Down

0 comments on commit 7d8e192

Please sign in to comment.