Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
115141fe55 |
@@ -1110,10 +1110,6 @@ class FormBuilder
|
|||||||
*/
|
*/
|
||||||
public function getValueAttribute($name, $value = null)
|
public function getValueAttribute($name, $value = null)
|
||||||
{
|
{
|
||||||
if ($name == '_token') {
|
|
||||||
return $this->csrfToken;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (is_null($name)) {
|
if (is_null($name)) {
|
||||||
return $value;
|
return $value;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user