QuickForm: fix ampersand for form actions
This commit is contained in:
parent
be98cf5133
commit
5a244e209a
|
@ -221,10 +221,11 @@ abstract class QuickForm extends Zend_Form
|
|||
|
||||
public function setAction($action)
|
||||
{
|
||||
if (! $action instanceof Url) {
|
||||
$action = Url::fromPath($action);
|
||||
if ($action instanceof Url) {
|
||||
$action = $action->getAbsoluteUrl('&');
|
||||
}
|
||||
return parent::setAction((string) $action);
|
||||
|
||||
return parent::setAction($action);
|
||||
}
|
||||
|
||||
public function setIcingaModule(Module $module)
|
||||
|
|
Loading…
Reference in New Issue