summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2014-10-14 21:23:11 +0200
committerAndreas Gohr <andi@splitbrain.org>2014-10-14 21:23:11 +0200
commit2f1c5aa6ace3f9f08cb5f042e17ff26d0d70d5f3 (patch)
treeacd136c2f444eeebe5e2331bafaf3af4759135d4 /lib
parent8457f8cee42b57b7f708f23cbbfc50b1939de30d (diff)
parent9c03f73b0f57a7e1bf6a3108813a4004bf66d307 (diff)
downloadrpg-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.php2
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();