mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
Make random uidnumber not create invalid uid ( <65536 )
This commit is contained in:
parent
7f98c8abff
commit
d3e54884f1
@ -232,7 +232,7 @@
|
||||
{
|
||||
global $phpgw_info, $phpgw;
|
||||
|
||||
if (!$account_id) { $account_id = mt_rand (100, 600000); }
|
||||
if (!$account_id) { $account_id = mt_rand (100, 65535); }
|
||||
// auto_increment/serial in the db won't necessarily work for ldap, nor would
|
||||
// randomization. Need to check for lastid in ldap, then create newid for sql and ldap
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user