diff --git a/code/UserDefinedForm.php b/code/UserDefinedForm.php index 16738c2..690b90f 100755 --- a/code/UserDefinedForm.php +++ b/code/UserDefinedForm.php @@ -407,8 +407,8 @@ class UserDefinedForm_Controller extends Page_Controller { // set the values passed by the url to the field $request = $this->getRequest(); - $value = $request->getVar( $field->name ); - if( isset( $value ) ) $field->value = $value; + $value = $request->getVar($field->name); + if(isset($value)) $field->value = $value; $fields->push($field); }