summaryrefslogtreecommitdiff
path: root/program/steps/addressbook
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-02-05 08:38:06 +0100
committerAleksander Machniak <alec@alec.pl>2014-02-05 08:38:06 +0100
commita35540c786178027cd93eefdce1e893dd6714631 (patch)
tree1c7c4acb8aa45649448edaf9dd5c2c9eb890d7a1 /program/steps/addressbook
parent327bd305d651e60e66dcf34f5182515281092570 (diff)
Fix issue when default_addressbook option is set to integer value (#1489407)
Diffstat (limited to 'program/steps/addressbook')
-rw-r--r--program/steps/addressbook/func.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/addressbook/func.inc b/program/steps/addressbook/func.inc
index b33396baf..be0dd2a33 100644
--- a/program/steps/addressbook/func.inc
+++ b/program/steps/addressbook/func.inc
@@ -160,7 +160,7 @@ function rcmail_contact_source($source=null, $init_env=false, $writable=false)
return $CONTACTS;
$OUTPUT->set_env('readonly', $CONTACTS->readonly);
- $OUTPUT->set_env('source', $source);
+ $OUTPUT->set_env('source', (string) $source);
// reduce/extend $CONTACT_COLTYPES with specification from the current $CONTACT object
if (is_array($CONTACTS->coltypes)) {