Fix expiry date when importing users see BT#10242

1.10.x
Julio Montoya 9 years ago
parent 42d12d826c
commit 77d3c40f17
  1. 6
      main/admin/user_import.php

@ -5,10 +5,6 @@
* @package chamilo.admin
*/
/**
* Validate the imported data.
*/
$cidReset = true;
require '../inc/global.inc.php';
@ -149,7 +145,7 @@ function complete_missing_data($user)
}
if (empty($user['ExpiryDate'])) {
$user['ExpiryDate'] = '0000-00-00 00:00:00';
$user['ExpiryDate'] = '';
}
return $user;

Loading…
Cancel
Save