aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-11-28 18:17:58 -0500
committerCash Costello <cash.costello@gmail.com>2011-11-28 18:17:58 -0500
commit8d4d2cf34040cba92208b1bee98d4c6760c8609a (patch)
tree833f6b744ded074966ca992e25e229cfb58f8e37
parent57675a8b65a703ceb507176d0ac7bd29d6cff1bd (diff)
downloadelgg-8d4d2cf34040cba92208b1bee98d4c6760c8609a.tar.gz
elgg-8d4d2cf34040cba92208b1bee98d4c6760c8609a.tar.bz2
Fixes #3986 not showing message buttons if no messages
-rw-r--r--mod/messages/views/default/forms/messages/process.php3
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">';