fixed switching back to addressbook "all" does sometimes fail

This commit is contained in:
Ralf Becker 2013-02-05 11:47:32 +00:00
parent daac136f47
commit cb94372bd5

View File

@ -1184,6 +1184,11 @@ class addressbook_ui extends addressbook_bo
$query['col_filter']['private'] = substr($query['filter'],-1) == 'p' ? 1 : 0;
}
}
else
{
unset($query['col_filter']['owner']);
unset($query['col_filter']['private']);
}
if ((int)$query['filter2']) // not no distribution list
{
$query['col_filter']['list'] = (string) (int) $query['filter2'];