Bladeren bron

Remove random default argument value in the middle of argument list

pdontthink 4 jaren geleden
bovenliggende
commit
b177d0ef66
1 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 2 1
      functions/mime.php

+ 2 - 1
functions/mime.php

@@ -190,7 +190,8 @@ function mime_fetch_body($imap_stream, $id, $ent_id=1, $fetch_size=0) {
     return $ret;
 }
 
-function mime_print_body_lines ($imap_stream, $id, $ent_id=1, $encoding, $rStream='php://stdout', $force_crlf='') {
+// TODO: Needs documentation.  $ent_id default is usually 1
+function mime_print_body_lines ($imap_stream, $id, $ent_id, $encoding, $rStream='php://stdout', $force_crlf='') {
 
     /* Don't kill the connection if the browser is over a dialup
      * and it would take over 30 seconds to download it.