forked from extern/egroupware
* ImportExport/PostgreSQL: fixed SQL error "wrong operator !" when defining a profil
This commit is contained in:
parent
459e6be4d2
commit
82bb3f8044
@ -82,7 +82,7 @@ class importexport_definitions_ui
|
|||||||
|
|
||||||
if($GLOBALS['egw_info']['user']['apps']['admin']) {
|
if($GLOBALS['egw_info']['user']['apps']['admin']) {
|
||||||
// Any public definition
|
// Any public definition
|
||||||
$filter[] = '(!owner OR owner IS NULL OR allowed_users IS NOT NULL OR owner = ' . $GLOBALS['egw_info']['user']['account_id'] . ')';
|
$filter[] = '(owner=0 OR owner IS NULL OR allowed_users IS NOT NULL OR owner = ' . $GLOBALS['egw_info']['user']['account_id'] . ')';
|
||||||
} else {
|
} else {
|
||||||
// Filter private definitions
|
// Filter private definitions
|
||||||
$filter['owner'] = $GLOBALS['egw_info']['user']['account_id'];
|
$filter['owner'] = $GLOBALS['egw_info']['user']['account_id'];
|
||||||
|
Loading…
Reference in New Issue
Block a user