diff --git a/includes/theme.inc b/includes/theme.inc index ebe5817..4a6503c 100644 --- a/includes/theme.inc +++ b/includes/theme.inc @@ -1617,7 +1617,7 @@ function theme_status_messages($variables) { $output .= " \n"; } else { - $output .= $messages[0]; + $output .= reset($messages); } $output .= "\n"; }