diff options
author | alecpl <alec@alec.pl> | 2009-09-28 13:23:24 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-09-28 13:23:24 +0000 |
commit | e3e874d0291f21f866bcd87cbe38cd0ad3ea3c85 (patch) | |
tree | 5d87978ed666cb7eea05a3061f3bbef9741a9c78 /program/steps | |
parent | 741d96fdda25728c5108d24b61e08279a86844d7 (diff) |
- Fix LDAP addressbook shows 'Contact not found' error sometimes (#1486178)
Diffstat (limited to 'program/steps')
-rw-r--r-- | program/steps/addressbook/mailto.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/addressbook/mailto.inc b/program/steps/addressbook/mailto.inc index 90a779644..6813958f2 100644 --- a/program/steps/addressbook/mailto.inc +++ b/program/steps/addressbook/mailto.inc @@ -23,7 +23,7 @@ $cid = get_input_value('_cid', RCUBE_INPUT_GET); $recipients = null; $mailto = array(); -if ($cid && preg_match('/^[a-z0-9\-_=]+(,[a-z0-9\-_=]+)*$/i', $cid) && $CONTACTS->ready) +if ($cid && preg_match('/^[a-z0-9\-\+\/_=]+(,[a-z0-9\-\+\/_=]+)*$/i', $cid) && $CONTACTS->ready) { $CONTACTS->set_page(1); $CONTACTS->set_pagesize(100); |