aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-05 02:27:11 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-05 02:27:11 +0000
commitf6efaba63af8100f7cebcbd9414e04ff4187c6c2 (patch)
tree0a2ec647bbbedf5ceb227f9f3d9eeb0f948d7a5d /mod
parent869ff426476e28340828d83cf99beb949f908453 (diff)
downloadelgg-f6efaba63af8100f7cebcbd9414e04ff4187c6c2.tar.gz
elgg-f6efaba63af8100f7cebcbd9414e04ff4187c6c2.tar.bz2
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
Diffstat (limited to 'mod')
-rw-r--r--mod/uservalidationbyemail/start.php2
1 files changed, 1 insertions, 1 deletions
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;
}