Fix optional parameter on Form::model()

This commit is contained in:
Davide Bellini committed 2013-03-01 16:20:08 +01:00
1 parent c607acd998
commit 53454c5f22
1 file changed
+1 -1
+1 -1
View File
@@ -121,7 +121,7 @@ class FormBuilder {
* @param array $options
* @return string
*/
public function model($model, array $options)
public function model($model, array $options = array())
{
$this->model = $model;