Fix for #337
This commit is contained in:
1 parent
4b493269d5
commit
c0dc174809
2 files changed
+5
-1
No files matched your search
@@ -1108,6 +1108,10 @@ class FormBuilder
|
||||
*/
|
||||
public function getValueAttribute($name, $value = null)
|
||||
{
|
||||
if ($name == '_token') {
|
||||
return $this->csrfToken;
|
||||
}
|
||||
|
||||
if (is_null($name)) {
|
||||
return $value;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user