Merge pull request #668 from NicoDucou/bt9703

Fix WSCreateUser to create user with expiration_date = null ref BT9703
1.10.x
Yannick Warnier 10 years ago
commit 085a673dc0
  1. 2
      main/webservices/registration.soap.php

@ -528,7 +528,7 @@ function WSCreateUser($params) {
phone = '".Database::escape_string($phone)."',
language = '".Database::escape_string($language)."',
registration_date = now(),
expiration_date = '".Database::escape_string($expiration_date)."',
$expirationDateStatement
hr_dept_id = '".Database::escape_string($hr_dept_id)."',
active = '".Database::escape_string($active)."'";
$result = Database::query($sql);

Loading…
Cancel
Save