aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-11-28 18:17:58 -0500
committercash <cash.costello@gmail.com>2011-11-28 21:44:02 -0500
commita8750de6336ab4551c3ee217df0d8676a209e49e (patch)
tree8b34a44e534492ef7de2e4ba7bae1012b891a488 /mod
parentc67996af8b7bcb1b3e6da5ef009e8bf3537abae5 (diff)
downloadelgg-a8750de6336ab4551c3ee217df0d8676a209e49e.tar.gz
elgg-a8750de6336ab4551c3ee217df0d8676a209e49e.tar.bz2
Fixes #3986 not showing message buttons if no messages
Diffstat (limited to 'mod')
-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">';