Selaa lähdekoodia

fix warning when we access fillMessagesArray from a search

stekkel 22 vuotta sitten
vanhempi
commit
e2b01ef8de
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      functions/mailbox_display.php

+ 1 - 1
functions/mailbox_display.php

@@ -528,7 +528,7 @@ function calc_msort($msgs, $sort) {
     return $msort;
 }
 
-function fillMessageArray($imapConnection, $id, $count, $show_num) {
+function fillMessageArray($imapConnection, $id, $count, $show_num=false) {
     return sqimap_get_small_header_list($imapConnection, $id, $show_num);
 }