From d0519c03c82b5291db9928f587c3b13aa8f6a705 Mon Sep 17 00:00:00 2001 From: cigamit Date: Thu, 27 Mar 2003 04:01:31 +0000 Subject: [PATCH] Fix some operator bugs that cause some problems (mainly when forwarding messages). git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4688 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 2 +- src/move_messages.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/compose.php b/src/compose.php index 5b8dc135..068c57d1 100644 --- a/src/compose.php +++ b/src/compose.php @@ -818,7 +818,7 @@ function getMessage_RFC822_Attachment($message, $composeMessage, $passed_id, TRUE, $response, $readmessage, $uid_support); $message = $message->parent; } - if ($response = 'OK') { + if ($response == 'OK') { $subject = encodeHeader($message->rfc822_header->subject); array_shift($body_a); $body = implode('', $body_a) . "\r\n"; diff --git a/src/move_messages.php b/src/move_messages.php index 135dd42b..d9a2fda1 100644 --- a/src/move_messages.php +++ b/src/move_messages.php @@ -89,7 +89,7 @@ function attachSelectedMessages($msg, $imapConnection) { if (isset($msg[$i])) { $id = $msg[$i]; $body_a = sqimap_run_command($imapConnection, "FETCH $id RFC822",true, $response, $readmessage, $uid_support); - if ($response = 'OK') { + if ($response == 'OK') { $k = $i + $start_index; $subject = $msgs[$k]['SUBJECT']; -- 2.25.1