Fixes form decorator and uses sprintf

This commit is contained in:
Bernd Erk 2015-11-12 23:11:07 +01:00
parent 1a99bb73ee
commit ecf929ec96
1 changed files with 1 additions and 1 deletions

View File

@ -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()
));
}