diff options
author | thomascube <thomas@roundcube.net> | 2011-05-13 18:23:30 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-05-13 18:23:30 +0000 |
commit | e2f185e1b3161b0d1de12a04d70d8d32f1fd8761 (patch) | |
tree | ffe62c128b632a5494bbea4742e875a921d85b55 /program/steps/mail/func.inc | |
parent | 6b19999841f97e1addfa6ebce79a887aad7467c9 (diff) |
Don't connect to address books unless necessary
Diffstat (limited to 'program/steps/mail/func.inc')
-rw-r--r-- | program/steps/mail/func.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc index 889406b15..cfdad791a 100644 --- a/program/steps/mail/func.inc +++ b/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; } |