diff options
author | Thomas Bruederli <thomas@roundcube.net> | 2014-03-31 11:09:36 +0200 |
---|---|---|
committer | Thomas Bruederli <thomas@roundcube.net> | 2014-03-31 11:09:36 +0200 |
commit | 57e5d735e213b9e868f6996626f373688d647a57 (patch) | |
tree | 928075b441fac49946e8e7c7b18ac0ffadb475f5 | |
parent | a8a50de4e3a3f83180c32815a965732fd8171088 (diff) | |
parent | 8c783c0d66e9b7e2c27fce7beee2c07594bae3c4 (diff) |
Merge branch 'master' of github.com:roundcube/roundcubemail
-rw-r--r-- | plugins/virtuser_query/virtuser_query.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/virtuser_query/virtuser_query.php b/plugins/virtuser_query/virtuser_query.php index a0b748288..c08d6bd38 100644 --- a/plugins/virtuser_query/virtuser_query.php +++ b/plugins/virtuser_query/virtuser_query.php @@ -70,13 +70,13 @@ class virtuser_query extends rcube_plugin if (strpos($sql_arr[0], '@')) { if ($p['extended'] && count($sql_arr) > 1) { $result[] = array( - 'email' => rcube_utils::idn_to_ascii($sql_arr[0]), - 'name' => $sql_arr[1], - 'organization' => $sql_arr[2], - 'reply-to' => rcube_utils::idn_to_ascii($sql_arr[3]), - 'bcc' => rcube_utils::idn_to_ascii($sql_arr[4]), - 'signature' => $sql_arr[5], - 'html_signature' => (int)$sql_arr[6], + 'email' => rcube_utils::idn_to_ascii($sql_arr[0]), + 'name' => (string) $sql_arr[1], + 'organization' => (string) $sql_arr[2], + 'reply-to' => (string) rcube_utils::idn_to_ascii($sql_arr[3]), + 'bcc' => (string) rcube_utils::idn_to_ascii($sql_arr[4]), + 'signature' => (string) $sql_arr[5], + 'html_signature' => (int) $sql_arr[6], ); } else { |