diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-11-28 18:17:58 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-11-28 18:17:58 -0500 |
commit | 8d4d2cf34040cba92208b1bee98d4c6760c8609a (patch) | |
tree | 833f6b744ded074966ca992e25e229cfb58f8e37 /mod/messages/views/default/forms | |
parent | 57675a8b65a703ceb507176d0ac7bd29d6cff1bd (diff) | |
download | elgg-8d4d2cf34040cba92208b1bee98d4c6760c8609a.tar.gz elgg-8d4d2cf34040cba92208b1bee98d4c6760c8609a.tar.bz2 |
Fixes #3986 not showing message buttons if no messages
Diffstat (limited to 'mod/messages/views/default/forms')
-rw-r--r-- | mod/messages/views/default/forms/messages/process.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/messages/views/default/forms/messages/process.php b/mod/messages/views/default/forms/messages/process.php index 7e182b8f0..f86c3217a 100644 --- a/mod/messages/views/default/forms/messages/process.php +++ b/mod/messages/views/default/forms/messages/process.php @@ -10,7 +10,8 @@ $messages = $vars['list']; if (!$messages) { - $messages = elgg_echo('messages:nomessages'); + echo elgg_echo('messages:nomessages'); + return true; } echo '<div class="messages-container">'; |