diff options
author | Andreas Gohr <andi@splitbrain.org> | 2014-07-26 08:40:27 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2014-07-26 08:40:27 +0200 |
commit | 49cd1ed0c3598adf2be1b42e09281137eb41cc2b (patch) | |
tree | b8fe15221b53c33ae31b48396a3db348d2f34c75 | |
parent | 503f46aa4d2482c6f52bb15b0b655f88b94b1d45 (diff) | |
download | rpg-49cd1ed0c3598adf2be1b42e09281137eb41cc2b.tar.gz rpg-49cd1ed0c3598adf2be1b42e09281137eb41cc2b.tar.bz2 |
fix AUTH_USER_CHANGE event in profile updates
the triggered event did not allow event handlers to change the passed
data
-rw-r--r-- | inc/auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |