mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Edited lib/Cake/View/Helper/FormHelper.php via GitHub
This commit is contained in:
parent
cb5f57f0ed
commit
6cd89b0992
1 changed files with 1 additions and 3 deletions
|
@ -1073,9 +1073,7 @@ class FormHelper extends AppHelper {
|
|||
$input = $this->textarea($fieldName, $options + array('cols' => '30', 'rows' => '6'));
|
||||
break;
|
||||
case 'url':
|
||||
$options = $this->_initInputField($fieldName, $options);
|
||||
$options['type'] = 'url';
|
||||
$input = $this->Html->useTag('input', $options['name'], $options);
|
||||
$input = $this->text($fieldName, array('type' => 'url') + $options);
|
||||
break;
|
||||
default:
|
||||
$input = $this->{$type}($fieldName, $options);
|
||||
|
|
Loading…
Reference in a new issue