Small bug fix - $targetmailbox was only being set when $_GET['mailbox'] was already set
[squirrelmail.git] / src / search.php
index 9e050fd287377cec4f86baafa120448431bd2043..e08aa0628378e5d44896824d2f01ee571c45cdde 100644 (file)
@@ -1030,6 +1030,7 @@ if (isset($_GET['mailbox'])) {
     }
 } else {
     $mailbox_array = array();
+    $targetmailbox = array();
 }
 $aMailboxGlobalPref = array(
                        MBX_PREF_SORT         => 0,