diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-05-13 18:23:30 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2011-05-13 18:23:30 +0000 |
| commit | 55f2e20876ddcaeb3c86f88a2bc70f7d0929f0f1 (patch) | |
| tree | 5a32c6876b3bca6e20049bf3769adccb78c9a0ee | |
| parent | 7584077db7ee79d58df5021bb689a7deaae04cbb (diff) | |
Don't connect to address books unless necessary
git-svn-id: https://svn.roundcube.net/trunk@4766 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/steps/mail/func.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/steps/mail/func.inc b/roundcubemail/program/steps/mail/func.inc index 889406b15..cfdad791a 100644 --- a/roundcubemail/program/steps/mail/func.inc +++ b/roundcubemail/program/steps/mail/func.inc @@ -1248,7 +1248,7 @@ function rcmail_address_string($input, $max=null, $linked=false, $addicon=null) $j = 0; $out = ''; - if ($got_writable_abook === null && $books = $RCMAIL->get_address_sources(true)) { + if ($addicon && $got_writable_abook === null && $books = $RCMAIL->get_address_sources(true)) { $got_writable_abook = true; } |
