From: fidian Date: Wed, 17 Jan 2001 17:14:49 +0000 (+0000) Subject: * Fixed typo. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;ds=sidebyside;h=4faa6b178298b2572427295e617b66f6826064c1;p=squirrelmail.git * Fixed typo. * Changed two negations and OR into one negation and AND - 1/2 the number of negations! :-) git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@957 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/imap_mailbox.php b/functions/imap_mailbox.php index 2233f238..6e4fe26a 100755 --- a/functions/imap_mailbox.php +++ b/functions/imap_mailbox.php @@ -258,15 +258,15 @@ // Then list special folders and their subfolders for ($i = 0 ; $i <= count($boxes) ; $i++) { - if ((!strcasecmp($trash_folder, $boxes[$i]["unformatted"]) || - !strcasecmp($trash_folder . $dm, $boxes[$i]["unformatted"] ) - && ($move_to_trash)) { + if (! (strcasecmp($trash_folder, $boxes[$i]["unformatted"]) && + strcasecmp($trash_folder . $dm, $boxes[$i]["unformatted"] )) + && $move_to_trash) { $boxesnew[] = $boxes[$i]; $boxes[$i]["used"] = true; } - elseif ((!strcasecmp($sent_folder, $boxes[$i]["unformatted"]) || - !strcasecmp($sent_folder . $dm, $boxes[$i]["unformatted"] ) - && ($move_to_sent)) { + elseif (! (strcasecmp($sent_folder, $boxes[$i]["unformatted"]) && + strcasecmp($sent_folder . $dm, $boxes[$i]["unformatted"] )) + && $move_to_sent) { $boxesnew[] = $boxes[$i]; $boxes[$i]["used"] = true; }