Merge branch 'master' of github.com:roundcube/roundcubemail

pull/173/merge
Thomas Bruederli 11 years ago
commit 57e5d735e2

@ -70,13 +70,13 @@ class virtuser_query extends rcube_plugin
if (strpos($sql_arr[0], '@')) { if (strpos($sql_arr[0], '@')) {
if ($p['extended'] && count($sql_arr) > 1) { if ($p['extended'] && count($sql_arr) > 1) {
$result[] = array( $result[] = array(
'email' => rcube_utils::idn_to_ascii($sql_arr[0]), 'email' => rcube_utils::idn_to_ascii($sql_arr[0]),
'name' => $sql_arr[1], 'name' => (string) $sql_arr[1],
'organization' => $sql_arr[2], 'organization' => (string) $sql_arr[2],
'reply-to' => rcube_utils::idn_to_ascii($sql_arr[3]), 'reply-to' => (string) rcube_utils::idn_to_ascii($sql_arr[3]),
'bcc' => rcube_utils::idn_to_ascii($sql_arr[4]), 'bcc' => (string) rcube_utils::idn_to_ascii($sql_arr[4]),
'signature' => $sql_arr[5], 'signature' => (string) $sql_arr[5],
'html_signature' => (int)$sql_arr[6], 'html_signature' => (int) $sql_arr[6],
); );
} }
else { else {

Loading…
Cancel
Save