From bd095f597d58b5275371b24001975cbaeb846d9d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 20 Jul 2014 14:54:30 +0200 Subject: [PATCH] Fix: CheckStyle --- htdocs/core/lib/functions.lib.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index e91ee751727..8fbb5fd34ec 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -4053,10 +4053,11 @@ function dolGetFirstLastname($firstname,$lastname,$nameorder=-1) /** - * Set event message in dol_events session + * Set event message in dol_events session object. Will be output by calling dol_htmloutput_events. + * Note: Calling dol_htmloutput_events is done into pages by standard llxFooter() function. * * @param mixed $mesgs Message string or array - * @param string $style Which style to use ('mesgs', 'warnings', 'errors') + * @param string $style Which style to use ('mesgs' by default, 'warnings', 'errors') * @return void * @see dol_htmloutput_events */ @@ -4078,6 +4079,8 @@ function setEventMessage($mesgs, $style='mesgs') /** * Print formated messages to output (Used to show messages on html output). + * Note: Calling dol_htmloutput_events is done into pages by standard llxFooter() function, so there is + * no need to call it explicitely. * * @return void * @see dol_htmloutput_mesg