* PostgreSQL/Setup/EMailAdmin: fixed Setup >> Configuration was not storing anything

caused by egw_emailadmin.ea_(user|group) is varchar (for whatever reason) and postgres never returned a default profile
This commit is contained in:
Ralf Becker 2012-02-29 19:01:45 +00:00
parent 8dc0cc4e05
commit 9b7d0f0b17

View File

@ -287,8 +287,8 @@
elseif ($_defaultProfile)
{
$where[] = "(ea_appname ='' or ea_appname is NULL)";
$where[] = "(ea_group=0 or ea_group is NULL)";
$where[] = "(ea_user =0 or ea_user is NULL)";
$where[] = "(ea_group='0' or ea_group is NULL)"; // ea_group&ea_user are varchar!
$where[] = "(ea_user ='0' or ea_user is NULL)";
}
elseif ($_appName)
{