alecpl
2010-08-06 532c2504f43ec0d92f186bbe8bc0b64e7c36a976
- Add 'language' parameter in 'user_create' hook (#1486896)


1 files modified
2 ■■■ changed files
program/include/rcube_user.php 2 ●●● patch | view | raw | blame | history
program/include/rcube_user.php
@@ -406,7 +406,7 @@
            strip_newlines($user),
            strip_newlines($host),
            strip_newlines($data['alias'] ? $data['alias'] : $user_email),
            $_SESSION['language']);
            strip_newlines($data['language'] ? $data['language'] : $_SESSION['language']));
        if ($user_id = $dbh->insert_id('users')) {
            // create rcube_user instance to make plugin hooks work