From d330fe99345e73097894600b4241b87bf7ddbb19 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Tue, 13 Jan 2009 11:41:56 +0000 Subject: [PATCH] bugfix for typo in class-var --- phpgwapi/inc/class.accounts_sql.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.accounts_sql.inc.php b/phpgwapi/inc/class.accounts_sql.inc.php index 2a14e7aa4b..41f3df74b1 100644 --- a/phpgwapi/inc/class.accounts_sql.inc.php +++ b/phpgwapi/inc/class.accounts_sql.inc.php @@ -70,7 +70,7 @@ class accounts_sql * * @var accounts */ - private $fontend; + private $frontend; /** * Constructor @@ -378,6 +378,7 @@ class accounts_sql break; } } + $criteria[] = "egw_addressbook.account_id is not null "; $accounts = array(); if (!is_object($GLOBALS['egw']->contacts)) throw new exception('No $GLOBALS[egw]->contacts!'); if (($contacts =& $GLOBALS['egw']->contacts->search($criteria,false,$order,"account_lid,account_type,account_status,$this->table.account_id",