mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
MINOR - Now follows the coding conventions
This commit is contained in:
parent
81afd90761
commit
e24e9b4245
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user