Fix comp_in_new.
[squirrelmail.git] / src / move_messages.php
index 135dd42bcc042a16aae67597d9c4f8feb40704ea..d9a2fda19c84743767ac6d6ce597d72becc28d59 100644 (file)
@@ -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'];