Avoid using session to build form

This commit is contained in:
Rafael Renan Pacheco committed 2016-02-01 09:32:17 -02:00
1 parent 3a312d39ff
commit df8acc24bb
1 file changed
+1 -1
+1 -1
View File
@@ -1080,7 +1080,7 @@ class FormBuilder
return $value; return $value;
} }
if (! is_null($this->old($name))) { if (! is_null($this->old($name)) && $name != '_method') {
return $this->old($name); return $this->old($name);
} }