From f6efaba63af8100f7cebcbd9414e04ff4187c6c2 Mon Sep 17 00:00:00 2001 From: cash Date: Sun, 5 Dec 2010 02:27:11 +0000 Subject: fixed bug in uservalidationbyemail permissions hook handler - was giving everyone permission to everything git-svn-id: http://code.elgg.org/elgg/trunk@7534 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/uservalidationbyemail/start.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/uservalidationbyemail/start.php') diff --git a/mod/uservalidationbyemail/start.php b/mod/uservalidationbyemail/start.php index 1214df11b..79b8b7413 100644 --- a/mod/uservalidationbyemail/start.php +++ b/mod/uservalidationbyemail/start.php @@ -107,7 +107,7 @@ function uservalidationbyemail_allow_new_user_can_edit($hook, $type, $value, $pa } $context = elgg_get_context(); - if ($context == 'uservalidationbyemail_new_user' || $context = 'uservalidationbyemail_validate_user') { + if ($context == 'uservalidationbyemail_new_user' || $context == 'uservalidationbyemail_validate_user') { return TRUE; } -- cgit v1.2.3