diff --git a/src/Former/Form/Form.php b/src/Former/Form/Form.php index 1c4d6319..04500b64 100644 --- a/src/Former/Form/Form.php +++ b/src/Former/Form/Form.php @@ -114,7 +114,7 @@ public function openForm($type, $parameters) $action = array_get($parameters, 0); $method = array_get($parameters, 1, 'POST'); $attributes = array_get($parameters, 2, array()); - $secure = array_get($parameters, 3, false); + $secure = array_get($parameters, 3, null); // Fetch errors if asked for if ($this->app['former']->getOption('fetch_errors')) {