mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 08:14:03 +02:00
Help: Do not protect form element ids twice
This commit is contained in:
parent
ea4de82545
commit
82017da85f
@ -51,7 +51,7 @@ class Help extends Zend_Form_Decorator_Abstract
|
|||||||
{
|
{
|
||||||
if ($this->descriptionId === null) {
|
if ($this->descriptionId === null) {
|
||||||
$element = $element ?: $this->getElement();
|
$element = $element ?: $this->getElement();
|
||||||
$this->descriptionId = $this->getView()->protectId($element->getId() . '_desc');
|
$this->descriptionId = 'desc_' . $element->getId();
|
||||||
}
|
}
|
||||||
|
|
||||||
return $this->descriptionId;
|
return $this->descriptionId;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user