fixed sql error reported on user list

This commit is contained in:
Ralf Becker 2010-09-20 06:12:03 +00:00
parent 5e57d48378
commit e421e70add

View File

@ -388,7 +388,7 @@ class addressbook_sql extends so_sql
case 'array':
foreach($only_keys as $key => $val)
{
switch($key)
switch($val)
{
case 'id': case 'contact_id':
$only_keys[$key] = $this->table_name.'.contact_id';