Fixes form decorator and uses sprintf
This commit is contained in:
parent
1a99bb73ee
commit
ecf929ec96
|
@ -58,7 +58,7 @@ class FormHints extends Zend_Form_Decorator_Abstract
|
|||
$hints = $this->recurseForm($form, $entirelyRequired);
|
||||
if ($entirelyRequired !== null) {
|
||||
$hints[] = $form->getView()->translate(sprintf(
|
||||
'* Required field',
|
||||
'%s Required field',
|
||||
$form->getRequiredCue()
|
||||
));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue