Fix issue when default_addressbook option is set to integer value (#1489407)

This commit is contained in:
Aleksander Machniak
2014-02-05 08:38:06 +01:00
parent 327bd305d6
commit a35540c786
2 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,8 @@
CHANGELOG Roundcube Webmail
===========================
- Fixed Opera > 15 detection (#1489562)
- Fix issue when default_addressbook option is set to integer value (#1489407)
- Fix Opera > 15 detection (#1489562)
RELEASE 1.0-rc
--------------

View File

@@ -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)) {