From fc73746eb48c4b3bfad9ee04f1fb229788062ffc Mon Sep 17 00:00:00 2001 From: thomascube Date: Fri, 10 Aug 2007 13:51:53 +0000 Subject: Fix compose function from address book + mozilla compatibility --- program/steps/addressbook/mailto.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'program/steps') diff --git a/program/steps/addressbook/mailto.inc b/program/steps/addressbook/mailto.inc index 27217e5c8..101b7c043 100644 --- a/program/steps/addressbook/mailto.inc +++ b/program/steps/addressbook/mailto.inc @@ -25,6 +25,8 @@ $mailto = array(); if ($cid && preg_match('/^[a-z0-9\-_=]+(,[a-z0-9\-_=]+)*$/i', $cid) && $CONTACTS->ready) { + $CONTACTS->set_page(1); + $CONTACTS->set_pagesize(100); $recipients = $CONTACTS->search($CONTACTS->primary_key, $cid); while (is_object($recipients) && ($rec = $recipients->iterate())) -- cgit v1.2.3