diff options
author | David Rothstein <drothstein@gmail.com> | 2015-03-30 22:12:31 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2015-03-30 22:12:31 -0400 |
commit | 63065623fba4087ba574b64efce054ae5a5b0683 (patch) | |
tree | a88483bfac5ebee9def28e866cce978ea6725375 /includes/theme.inc | |
parent | b1001811d95d5b4dc7ca4916fc74f773106ac9f0 (diff) | |
download | brdo-63065623fba4087ba574b64efce054ae5a5b0683.tar.gz brdo-63065623fba4087ba574b64efce054ae5a5b0683.tar.bz2 |
Issue #1946240 by hampercm, eiriksm, David_Rothstein, rpayanm, rszrama, Yaron Tal, dgtlife, madhusudanmca, er.pushpinderrana, Cottser: Remove the hardcoded 0 index in theme_status_messages()
Diffstat (limited to 'includes/theme.inc')
-rw-r--r-- | includes/theme.inc | 2 |
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"; } |