* ImportExport/PostgreSQL: fixed SQL error "wrong operator !" when defining a profil

This commit is contained in:
Ralf Becker 2011-04-11 15:45:29 +00:00
parent 459e6be4d2
commit 82bb3f8044
2 changed files with 16 additions and 16 deletions

View File

@ -82,7 +82,7 @@ class importexport_definitions_ui
if($GLOBALS['egw_info']['user']['apps']['admin']) {
// 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 {
// Filter private definitions
$filter['owner'] = $GLOBALS['egw_info']['user']['account_id'];