Skip to content

Commit 0dd6528

Browse files
committed
Webservice: #add official_code parameter to the save_user ws - refs BT#22409
1 parent 1ec72a4 commit 0dd6528

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main/inc/lib/webservices/Rest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1920,6 +1920,9 @@ public function addUser($userParam): array
19201920
if (isset($userParam['phone'])) {
19211921
$phone = $userParam['phone'];
19221922
}
1923+
if (isset($userParam['official_code'])) {
1924+
$official_code = $userParam['official_code'];
1925+
}
19231926
if (isset($userParam['expiration_date'])) {
19241927
$expiration_date = $userParam['expiration_date'];
19251928
}

0 commit comments

Comments
 (0)