From 94e85da4c5f8baba75a5957abf92586cd00537de Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Sun, 4 Feb 2001 19:09:39 +0000 Subject: [PATCH] Add default null array to fields var for read() --- addressbook/inc/class.contacts_sql.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.contacts_sql.inc.php b/addressbook/inc/class.contacts_sql.inc.php index a9b7f2cac3..ee541a149f 100644 --- a/addressbook/inc/class.contacts_sql.inc.php +++ b/addressbook/inc/class.contacts_sql.inc.php @@ -152,7 +152,7 @@ return $return_fields; } - function read($start,$offset,$fields,$query="",$filter="",$sort="",$order="") // send this the range,query,sort,order + function read($start,$offset,$fields=array(),$query="",$filter="",$sort="",$order="") // send this the range,query,sort,order // and whatever fields you want to see { global $phpgw,$phpgw_info;