From e2f185e1b3161b0d1de12a04d70d8d32f1fd8761 Mon Sep 17 00:00:00 2001 From: thomascube Date: Fri, 13 May 2011 18:23:30 +0000 Subject: Don't connect to address books unless necessary --- program/steps/mail/func.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/steps') 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; } -- cgit v1.2.3