Prechádzať zdrojové kódy

Flush instead of echo

philippe_mingo 23 rokov pred
rodič
commit
4dece62ec2
1 zmenil súbory, kde vykonal 4 pridanie a 2 odobranie
  1. 4 2
      functions/mailbox_display.php

+ 4 - 2
functions/mailbox_display.php

@@ -606,7 +606,8 @@ function displayMessageArray($imapConnection, $num_msgs, $start_msg,
         } while ($i && $i < $endVar);
     }
     
-    echo '</table>' .
+    echo '</table>';
+    $html->flush(
          $html->tag( 'table',
             $html->tag( 'tr',
                 $html->tag( 'td',
@@ -624,7 +625,8 @@ function displayMessageArray($imapConnection, $num_msgs, $start_msg,
          , array( 'bgcolor' => $color[9],
                   'width' => '100%',
                   'cellpadding' => 1,
-                  'cellspacing' => 1 ) );
+                  'cellspacing' => 1 ) )
+    );
          
     /* End of message-list table */