From 7fab739efd8570ae38c65f1b780dff729f99725a Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Wed, 28 Aug 2013 09:08:37 +0200 Subject: [PATCH] Fix styles in Form.php refs #4566 --- library/Icinga/Web/Form.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/library/Icinga/Web/Form.php b/library/Icinga/Web/Form.php index 54a5816cb..ecb750a7b 100644 --- a/library/Icinga/Web/Form.php +++ b/library/Icinga/Web/Form.php @@ -272,17 +272,17 @@ abstract class Form extends Zend_Form /** * Add message to form * - * @param string $message The message to be displayed - * @param int $headingType Whether it should be displayed as heading (1-6) or not (null) + * @param string $message The message to be displayed + * @param int $headingType Whether it should be displayed as heading (1-6) or not (null) */ public function addNote($message, $headingType = null) { $this->addElement( new Note( array( - 'escape' => $headingType === null ? false : true, - 'name' => sprintf('note_%s', $this->last_note_id++), - 'value' => $headingType === null ? $message : sprintf( + 'escape' => $headingType === null ? false : true, + 'name' => sprintf('note_%s', $this->last_note_id++), + 'value' => $headingType === null ? $message : sprintf( '%2$s', $headingType, $message