fixed sql error reported on user list

This commit is contained in:
Ralf Becker 2010-09-20 06:11:17 +00:00
parent 22392e54b0
commit d858197e80

View File

@ -320,7 +320,7 @@ class addressbook_sql extends so_sql_cf
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';