We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3785b58 commit b3817e4Copy full SHA for b3817e4
src/Gustiawan/FormBuilder/Form.php
@@ -54,7 +54,7 @@ public function __construct(array $options = [])
54
{
55
$this->action = $options['action'];
56
$this->method = $options['method'];
57
- $this->data = $options['data'];
+ $this->data = array_key_exists("data", $options) ? $options['data'] : null;
58
59
return $this;
60
}
0 commit comments