From 49cd1ed0c3598adf2be1b42e09281137eb41cc2b Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 26 Jul 2014 08:40:27 +0200 Subject: fix AUTH_USER_CHANGE event in profile updates the triggered event did not allow event handlers to change the passed data --- inc/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc') diff --git a/inc/auth.php b/inc/auth.php index 2bdc3eb00..e224b2fb5 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -1080,7 +1080,7 @@ function updateprofile() { } } - if($result = $auth->triggerUserMod('modify', array($INPUT->server->str('REMOTE_USER'), $changes))) { + if($result = $auth->triggerUserMod('modify', array($INPUT->server->str('REMOTE_USER'), &$changes))) { // update cookie and session with the changed data if($changes['pass']) { list( /*user*/, $sticky, /*pass*/) = auth_getCookie(); -- cgit v1.2.3