Don't hardcode default value for submit buttons.
This commit is contained in:
1 parent
560af380fc
commit
793787e8a6
1 file changed
+1
-1
+1
-1
@@ -497,7 +497,7 @@ class FormBuilder {
|
||||
* @param array $options
|
||||
* @return string
|
||||
*/
|
||||
public function submit($value = 'Submit', $options = array())
|
||||
public function submit($value = null, $options = array())
|
||||
{
|
||||
return $this->input('submit', null, $value, $options);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user