From 483514ea403c4f0252d671b73cea2b11c0429c6e Mon Sep 17 00:00:00 2001 From: pdontthink Date: Mon, 8 Dec 2008 20:19:18 +0000 Subject: [PATCH] Place quotes around the real name portion of addresses when putting them on the compose form git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13367 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/addressbook.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/functions/addressbook.php b/functions/addressbook.php index 0c68958d..905e630a 100644 --- a/functions/addressbook.php +++ b/functions/addressbook.php @@ -517,9 +517,9 @@ class AddressBook { global $data_dir, $username; $addrsrch_fullname = getPref($data_dir, $username, 'addrsrch_fullname'); if ($addrsrch_fullname == 'fullname') - return $row['name'] . ' <' . trim($row['email']) . '>'; + return '"' . $row['name'] . '" <' . trim($row['email']) . '>'; else if ($addrsrch_fullname == 'nickname') - return $row['nickname'] . ' <' . trim($row['email']) . '>'; + return '"' . $row['nickname'] . '" <' . trim($row['email']) . '>'; else // "noprefix" return trim($row['email']); } -- 2.25.1