emulate the old access={private|public}

This commit is contained in:
Ralf Becker 2006-06-14 19:00:16 +00:00
parent ac102085ac
commit 68202a23ff

View File

@ -95,6 +95,11 @@ class contacts extends bocontacts
{ {
list($col,$value) = explode('=',$expr); list($col,$value) = explode('=',$expr);
if ($col == 'access') // text field access is renamed to private and using boolean 0/1
{
$col = 'private';
$value = $value == 'private';
}
$sfilter[$col] = $value; $sfilter[$col] = $value;
} }
} }