aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/views/default/forms
diff options
context:
space:
mode:
Diffstat (limited to 'mod/messages/views/default/forms')
-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">';