Explorar o código

last(?) icy fix

teepe %!s(int64=23) %!d(string=hai) anos
pai
achega
2b05fd40db
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      functions/imap_general.php

+ 3 - 0
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 = '&nbsp';
+        }
     }
     elseif ( ereg('\((.*)\)', $string, $regs) ) {
         if( ( $regs[1] == '' ) || ( $regs[1] == ' ' ) ){