Help: Do not protect form element ids twice

This commit is contained in:
Johannes Meyer 2015-02-27 09:20:15 +01:00
parent ea4de82545
commit 82017da85f
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class Help extends Zend_Form_Decorator_Abstract
{
if ($this->descriptionId === null) {
$element = $element ?: $this->getElement();
$this->descriptionId = $this->getView()->protectId($element->getId() . '_desc');
$this->descriptionId = 'desc_' . $element->getId();
}
return $this->descriptionId;