git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2435
7612ce4b-ef26-0410-bec9-
ea0150e637f0
exit;
}
$tmp = fgets($smtpConnection, 1024);
- if (errorCheck($tmp, $smtpConnection)!=5) return(0);
+ if (errorCheck($tmp, $smtpConnection)!=5) {
+ return(0);
+ }
$to_list = getLineOfAddrs($to);
$cc_list = getLineOfAddrs($cc);
/* set current mailbox to INBOX if none was selected or if page
was called to search all folders. */
-if ($mailbox == 'None' || $mailbox == '' ) {
+if ( !isset($mailbox) || $mailbox == 'None' || $mailbox == '' ) {
$mailbox = $boxes[0]['unformatted'];
}
if ($mailbox == 'All Folders') {