mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
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);
|
$hints = $this->recurseForm($form, $entirelyRequired);
|
||||||
if ($entirelyRequired !== null) {
|
if ($entirelyRequired !== null) {
|
||||||
$hints[] = $form->getView()->translate(sprintf(
|
$hints[] = $form->getView()->translate(sprintf(
|
||||||
'* Required field',
|
'%s Required field',
|
||||||
$form->getRequiredCue()
|
$form->getRequiredCue()
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user