From 5cc3cd1947f561d97f2c8fdb860aef8d5d9219cf Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 27 Feb 2011 00:03:05 +0000 Subject: 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 --- mod/uservalidationbyemail/views/default/admin/users/unvalidated.php | 3 +++ .../views/default/forms/uservalidationbyemail/bulk_action.php | 6 ++---- 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 @@ '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; -- cgit v1.2.3