From 168e5409239583343ae40695585aa8dbc276f740 Mon Sep 17 00:00:00 2001 From: thomascube Date: Wed, 14 Mar 2012 08:27:18 +0000 Subject: Request all needed fields from address book backends (#1488394) --- program/steps/mail/list_contacts.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/steps/mail/list_contacts.inc') diff --git a/program/steps/mail/list_contacts.inc b/program/steps/mail/list_contacts.inc index 0791ae350..eb425d2ba 100644 --- a/program/steps/mail/list_contacts.inc +++ b/program/steps/mail/list_contacts.inc @@ -60,7 +60,7 @@ if ($CONTACTS && $CONTACTS->ready) { // get contacts for this user $CONTACTS->set_group(0); - $result = $CONTACTS->list_records(array('name', 'email')); + $result = $CONTACTS->list_records(array('name', 'firstname', 'surname', 'email')); if (!$result->count && $result->searchonly) { $OUTPUT->show_message('contactsearchonly', 'notice'); -- cgit v1.2.3