diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-11-28 18:17:58 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2011-11-28 21:44:02 -0500 |
commit | a8750de6336ab4551c3ee217df0d8676a209e49e (patch) | |
tree | 8b34a44e534492ef7de2e4ba7bae1012b891a488 /mod/messages/views/default | |
parent | c67996af8b7bcb1b3e6da5ef009e8bf3537abae5 (diff) | |
download | elgg-a8750de6336ab4551c3ee217df0d8676a209e49e.tar.gz elgg-a8750de6336ab4551c3ee217df0d8676a209e49e.tar.bz2 |
Fixes #3986 not showing message buttons if no messages
Diffstat (limited to 'mod/messages/views/default')
-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">'; |