From c04f123aa647441885460e97fc4f002f7d9cd566 Mon Sep 17 00:00:00 2001 From: pdontthink Date: Wed, 27 Apr 2011 09:43:25 +0000 Subject: [PATCH] Remove quotes around personal names in message list (#3292587) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@14106 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mailbox_display.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/mailbox_display.php b/functions/mailbox_display.php index fa3a4eb9..a31c1445 100644 --- a/functions/mailbox_display.php +++ b/functions/mailbox_display.php @@ -578,7 +578,7 @@ function prepareMessageList(&$aMailbox, $aProps) { $sTmp = $sTrunc; } } - $value = ($sTmp) ? $sTmp : $sUnknown; + $value = ($sTmp) ? (substr($sTmp, 0, 6) == '"' && substr($sTmp, -6) == '"' ? substr(substr($sTmp, 0, -6), 6) : $sTmp) : $sUnknown; break; case SQM_COL_SUBJ: // subject is mime encoded, decode it. -- 2.25.1