QuickForm: no label for hints

This commit is contained in:
Thomas Gelf 2015-07-30 10:09:44 +02:00
parent d30d5c51c2
commit 44a9755cce
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ abstract class QuickForm extends Zend_Form
{
if (false !== ($label = $this->getSubmitLabel())) {
$this->addElement('submit', $label);
$this->getElement($label)->setLabel($label);
$this->getElement($label)->setLabel($label)->removeDecorator('Label');
}
}