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