mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 07:39:27 +01:00
fixed groups without account_status="A" are not found
This commit is contained in:
parent
d97da6d309
commit
7ff829cdfd
@ -32,7 +32,7 @@ class addressbook_sql extends so_sql_cf
|
|||||||
* filter to show only active account (and not already expired or deactived ones)
|
* filter to show only active account (and not already expired or deactived ones)
|
||||||
* UNIX_TIMESTAMP(NOW()) gets replaced with value of time() in the code!
|
* UNIX_TIMESTAMP(NOW()) gets replaced with value of time() in the code!
|
||||||
*/
|
*/
|
||||||
const ACOUNT_ACTIVE_FILTER = "(account_expires IS NULL OR account_expires = -1 OR account_expires > UNIX_TIMESTAMP(NOW())) AND (account_lid IS NULL OR account_status='A')";
|
const ACOUNT_ACTIVE_FILTER = "(account_expires IS NULL OR account_expires = -1 OR account_expires > UNIX_TIMESTAMP(NOW())) AND (account_type IS NULL OR account_type!='u' OR account_status='A')";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* internal name of the id, gets mapped to uid
|
* internal name of the id, gets mapped to uid
|
||||||
|
Loading…
Reference in New Issue
Block a user