one more notice
authoralex-brainstorm <alex-brainstorm@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 4 Jul 2003 22:28:28 +0000 (22:28 +0000)
committeralex-brainstorm <alex-brainstorm@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Fri, 4 Jul 2003 22:28:28 +0000 (22:28 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@5216 7612ce4b-ef26-0410-bec9-ea0150e637f0

src/search.php

index 934d13b..cf91846 100644 (file)
@@ -535,7 +535,7 @@ function asearch_print_form($imapConnection, $boxes, $mailbox_array, $biop_array
        $mailbox = '';
        for ($row_num = 0; $row_num < $row_count; $row_num++) {
                /* 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]);
                if ($mailbox == '')
                        $mailbox = $boxes[0]['unformatted'];