Merge pull request #155 from rafael-renan-pacheco/5.2

Avoid using session to build form
This commit is contained in:
Matt Lantz committed 2016-05-19 11:46:23 -04:00
commit 4d5ed8a59a
1 file changed
+1 -1
+1 -1
View File
@@ -1080,7 +1080,7 @@ class FormBuilder
return $value;
}
if (! is_null($this->old($name))) {
if (! is_null($this->old($name)) && $name != '_method') {
return $this->old($name);
}