This commit is contained in:
Thomas Gelf 2014-03-08 08:24:58 +00:00
parent 3e09931f2c
commit 69b91adedb
1 changed files with 2 additions and 1 deletions

View File

@ -181,8 +181,9 @@ class Zend_View_Helper_CommandForm extends Zend_View_Helper_Abstract
$form->addElement($submit_identifier);
$form->getElement('btn_submit')->setDecorators(array('ViewHelper'));
$out = '';
if ($label) {
$out = '<label for="' . $uniqueName . '">'
$out .= '<label for="' . $uniqueName . '">'
. $label
. '</label>';
}