From 33565ec4a8517bd1ab7b8f30e4325c2e8855b069 Mon Sep 17 00:00:00 2001 From: teepe Date: Sat, 19 Jan 2002 15:38:20 +0000 Subject: [PATCH] last(?) icy fix git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2177 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_general.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/functions/imap_general.php b/functions/imap_general.php index 21672e14..df7fefe2 100755 --- a/functions/imap_general.php +++ b/functions/imap_general.php @@ -363,6 +363,9 @@ function sqimap_find_displayable_name ($string) { if ( ereg('^(.+)<.*>', $string, $regs) ) { $string = ereg_replace ('"', '', $regs[1] ); + if( $string == '' || $string == ' ' ){ + $string = ' '; + } } elseif ( ereg('\((.*)\)', $string, $regs) ) { if( ( $regs[1] == '' ) || ( $regs[1] == ' ' ) ){ -- 2.25.1