summaryrefslogtreecommitdiff
path: root/program/steps/addressbook/mailto.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-11-10 07:57:56 +0000
committeralecpl <alec@alec.pl>2011-11-10 07:57:56 +0000
commitf21a04c024e57d2396c6a8ab78b055de098217ee (patch)
tree142979e9d62db88f361587bb2617eb31e1e7207a /program/steps/addressbook/mailto.inc
parent81f5dd7774119e6f35f4594a68b25e53a22e65f2 (diff)
- Add option to define matching method for addressbook search (#1486564, #1487907)
Diffstat (limited to 'program/steps/addressbook/mailto.inc')
-rw-r--r--program/steps/addressbook/mailto.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/addressbook/mailto.inc b/program/steps/addressbook/mailto.inc
index 99c022db2..c40ecdf72 100644
--- a/program/steps/addressbook/mailto.inc
+++ b/program/steps/addressbook/mailto.inc
@@ -31,7 +31,7 @@ foreach ($cids as $source => $cid)
{
$CONTACTS->set_page(1);
$CONTACTS->set_pagesize(count($cid) + 2); // +2 to skip counting query
- $recipients = $CONTACTS->search($CONTACTS->primary_key, $cid, false, true, true, 'email');
+ $recipients = $CONTACTS->search($CONTACTS->primary_key, $cid, 0, true, true, 'email');
}
}