mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
fixed addressbook "all" shows no contacts, reported on the lists
This commit is contained in:
parent
a687714559
commit
9aebe5638a
@ -245,7 +245,7 @@ class addressbook_sql extends so_sql
|
||||
*/
|
||||
function &search($criteria,$only_keys=True,$order_by='',$extra_cols='',$wildcard='',$empty=False,$op='AND',$start=false,$filter=null,$join='',$need_full_no_count=false)
|
||||
{
|
||||
if ((int) $this->debug >= 4) echo "<p>socontacts_sql::search(".print_r($criteria,true).",".print_r($only_keys,true).",'$order_by','$extra_cols','$wildcard','$empty','$op','$start',".print_r($filter,true).",'$join')</p>\n";
|
||||
if ((int) $this->debug >= 4) echo '<p>'.__METHOD__.'('.array2string($criteria).','.array2string($only_keys).",'$order_by','$extra_cols','$wildcard','$empty','$op','$start',".array2string($filter).",'$join')</p>\n";
|
||||
|
||||
$owner = isset($filter['owner']) ? $filter['owner'] : (isset($criteria['owner']) ? $criteria['owner'] : null);
|
||||
|
||||
@ -367,7 +367,7 @@ class addressbook_sql extends so_sql
|
||||
++$extra_filter;
|
||||
unset($filter[$name]);
|
||||
}
|
||||
switch($name)
|
||||
switch((string)$name)
|
||||
{
|
||||
case 'owner':
|
||||
case 'contact_owner':
|
||||
|
Loading…
Reference in New Issue
Block a user