Browse Source

one more notice

alex-brainstorm 22 years ago
parent
commit
663846484d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/search.php

+ 1 - 1
src/search.php

@@ -535,7 +535,7 @@ function asearch_print_form($imapConnection, $boxes, $mailbox_array, $biop_array
 	$mailbox = '';
 	$mailbox = '';
 	for ($row_num = 0; $row_num < $row_count; $row_num++) {
 	for ($row_num = 0; $row_num < $row_count; $row_num++) {
 		/* Keep the last non-empty mailbox as default choice */
 		/* Keep the last non-empty mailbox as default choice */
-		if (strip_tags($mailbox_array[$row_num]) != '')
+		if (strip_tags(asearch_nz($mailbox_array[$row_num])) != '')
 			$mailbox = strip_tags($mailbox_array[$row_num]);
 			$mailbox = strip_tags($mailbox_array[$row_num]);
 		if ($mailbox == '')
 		if ($mailbox == '')
 			$mailbox = $boxes[0]['unformatted'];
 			$mailbox = $boxes[0]['unformatted'];