aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-27 00:03:05 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-27 00:03:05 +0000
commit5cc3cd1947f561d97f2c8fdb860aef8d5d9219cf (patch)
treedef2d127ff7e65ea936aa29592b5ec333051540e /mod
parent0f5f52576d7498fc51f0149ce1cd6a2221b443cf (diff)
downloadelgg-5cc3cd1947f561d97f2c8fdb860aef8d5d9219cf.tar.gz
elgg-5cc3cd1947f561d97f2c8fdb860aef8d5d9219cf.tar.bz2
fixed bad return value in unvalidated users bulk action form
git-svn-id: http://code.elgg.org/elgg/trunk@8503 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r--mod/uservalidationbyemail/views/default/admin/users/unvalidated.php3
-rw-r--r--mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php6
2 files changed, 5 insertions, 4 deletions
diff --git a/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php b/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php
index f34447b65..8b72126ef 100644
--- a/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php
+++ b/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php
@@ -1,4 +1,7 @@
<?php
+/**
+ * List of unvalidated users
+ */
echo elgg_view_form('uservalidationbyemail/bulk_action', array(
'name' => 'unvalidated-users',
diff --git a/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php b/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php
index fb0d9e5b1..9f04aca94 100644
--- a/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php
+++ b/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php
@@ -27,10 +27,8 @@ if (!$count) {
access_show_hidden_entities($hidden_entities);
elgg_set_ignore_access($ia);
- echo elgg_view('page_elements/contentwrapper', array(
- 'body' => elgg_echo('uservalidationbyemail:admin:no_unvalidated_users')
- ));
- return;
+ echo autop(elgg_echo('uservalidationbyemail:admin:no_unvalidated_users'));
+ return TRUE;
}
$options['count'] = FALSE;