We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 872bc46 commit 3ecb3e2Copy full SHA for 3ecb3e2
main/inc/lib/webservices/Rest.php
@@ -1880,6 +1880,7 @@ public function addUser($userParam): array
1880
$hr_dept_id = 0;
1881
$original_user_id_name = $userParam['original_user_id_name'];
1882
$original_user_id_value = $userParam['original_user_id_value'];
1883
+ $sendMail = (empty($userParam['send_mail']) ? false : true);
1884
1885
$extra_list = isset($userParam['extra']) ? $userParam['extra'] : [];
1886
if (isset($userParam['language'])) {
@@ -1916,7 +1917,10 @@ public function addUser($userParam): array
1916
1917
$auth_source,
1918
$expiration_date,
1919
$active,
- $hr_dept_id
1920
+ $hr_dept_id,
1921
+ [],
1922
+ '',
1923
+ $sendMail
1924
);
1925
1926
if (empty($userId)) {
0 commit comments