diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 8ed720c9b7..853f414d12 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2011-06-17 Sergio Martin + + * include/functions_events.php: Fixed duplication of comments + when validate events merged from 3.2.1 + 2011-06-16 Sancho Lerena * include/styles/install.css, diff --git a/pandora_console/include/functions_events.php b/pandora_console/include/functions_events.php index 8640311c8f..d0ef7ad118 100644 --- a/pandora_console/include/functions_events.php +++ b/pandora_console/include/functions_events.php @@ -185,14 +185,13 @@ function events_validate_event ($id_event, $similars = true, $comment = '', $new }else { $commentbox = ''; } - - $comment = '-- '.$new_status_string.' '.__('by').' '.$config['id_user'].' '.'['.date ($config["date_format"]).'] --
'.$commentbox; foreach ($id_event as $event) { + $comment = '-- '.$new_status_string.' '.__('by').' '.$config['id_user'].' '.'['.date ($config["date_format"]).'] --
'.$commentbox; + $fullevent = events_get_event($event); if($fullevent['user_comment'] != ''){ - $commentbox = '
'.$fullevent['user_comment'].'
'; $comment .= '
'.$fullevent['user_comment']; }