GET request would send 'search' parameter because it had a name

This commit is contained in:
Mikael Nordfeldth 2014-05-18 20:18:18 +02:00
parent 22481b1de6
commit bfaa700763

View File

@ -109,7 +109,7 @@ class SearchAction extends Action
// TRANS: for searching can be entered.
$this->input('q', _('Keyword(s)'), $q);
// TRANS: Button text for searching site.
$this->submit('search', _m('BUTTON','Search'));
$this->element('input', array('type'=>'submit', 'class'=>'submit', 'value'=>_m('BUTTON','Search')));
$this->elementEnd('li');
$this->elementEnd('ul');
$this->elementEnd('fieldset');