diff --git a/program/steps/addressbook/export.inc b/program/steps/addressbook/export.inc index 101006f87..7e6855e92 100644 --- a/program/steps/addressbook/export.inc +++ b/program/steps/addressbook/export.inc @@ -21,8 +21,8 @@ // get contacts for this user $CONTACTS->set_page(1); -$CONTACTS->set_pagesize(999); -$result = $CONTACTS->list_records(); +$CONTACTS->set_pagesize(99999); +$result = $CONTACTS->list_records(null, 0, true); // send downlaod headers send_nocacheing_headers();