mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 09:23:28 +01:00
only add accounts, which have a uid and a uidnumber
This commit is contained in:
parent
642653d734
commit
4e42f06b0e
@ -105,6 +105,8 @@
|
||||
} else {
|
||||
$np = $permissions_string;
|
||||
}
|
||||
// do some checks before we try to import the data
|
||||
if (!empty($account[1]["account_id"]) && !empty($account[1]["account_lid"]))
|
||||
$db->query("insert into accounts (account_id,account_lid,account_pwd,account_permissions,"
|
||||
. "account_groups,account_status) values ('" . $account[1]["account_id"] . "','"
|
||||
. $account[1]["account_lid"] . "','x','$np',',1:0,','A')",__LINE__,__FILE__);
|
||||
@ -183,4 +185,4 @@
|
||||
</table>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user