summaryrefslogtreecommitdiff
path: root/includes/theme.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/theme.inc')
-rw-r--r--includes/theme.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index 1833beeb8..8d5348dfc 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -1691,7 +1691,7 @@ function theme_status_messages($variables) {
$output .= " </ul>\n";
}
else {
- $output .= $messages[0];
+ $output .= reset($messages);
}
$output .= "</div>\n";
}