diff options
author | Andreas Gohr <andi@splitbrain.org> | 2014-10-14 21:23:11 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2014-10-14 21:23:11 +0200 |
commit | 2f1c5aa6ace3f9f08cb5f042e17ff26d0d70d5f3 (patch) | |
tree | acd136c2f444eeebe5e2331bafaf3af4759135d4 /lib | |
parent | 8457f8cee42b57b7f708f23cbbfc50b1939de30d (diff) | |
parent | 9c03f73b0f57a7e1bf6a3108813a4004bf66d307 (diff) | |
download | rpg-2f1c5aa6ace3f9f08cb5f042e17ff26d0d70d5f3.tar.gz rpg-2f1c5aa6ace3f9f08cb5f042e17ff26d0d70d5f3.tar.bz2 |
Merge pull request #898 from Werkov/master
AUTH_USER_CHANGE handler can modify passed data
Diffstat (limited to 'lib')
-rw-r--r-- | lib/plugins/auth.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugins/auth.php b/lib/plugins/auth.php index b38b591a3..02e0613dd 100644 --- a/lib/plugins/auth.php +++ b/lib/plugins/auth.php @@ -129,7 +129,7 @@ class DokuWiki_Auth_Plugin extends DokuWiki_Plugin { $eventdata = array('type' => $type, 'params' => $params, 'modification_result' => null); $evt = new Doku_Event('AUTH_USER_CHANGE', $eventdata); if($evt->advise_before(true)) { - $result = call_user_func_array(array($this, $validTypes[$type]), $params); + $result = call_user_func_array(array($this, $validTypes[$type]), $evt->data['params']); $evt->data['modification_result'] = $result; } $evt->advise_after(); |