Ouch
This commit is contained in:
parent
3e09931f2c
commit
69b91adedb
|
@ -181,8 +181,9 @@ class Zend_View_Helper_CommandForm extends Zend_View_Helper_Abstract
|
||||||
$form->addElement($submit_identifier);
|
$form->addElement($submit_identifier);
|
||||||
$form->getElement('btn_submit')->setDecorators(array('ViewHelper'));
|
$form->getElement('btn_submit')->setDecorators(array('ViewHelper'));
|
||||||
|
|
||||||
|
$out = '';
|
||||||
if ($label) {
|
if ($label) {
|
||||||
$out = '<label for="' . $uniqueName . '">'
|
$out .= '<label for="' . $uniqueName . '">'
|
||||||
. $label
|
. $label
|
||||||
. '</label>';
|
. '</label>';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue