]> git.datanom.net - qtadmin.git/blobdiff - quarantine.php
New menu
[qtadmin.git] / quarantine.php
index 28bd2bd0a607a42ab823c4bf7707d2c3982f4b95..70f271b91334c1965d3b896ed3045f313239db05 100644 (file)
@@ -25,6 +25,7 @@
             if (is_object($mail) && true == $util->authorized($mail->recipient)) {
                 $secret_id = $mail->secret_id;
                 $recipient = $mail->recipient;
+                $sender    = $mail->sender;
 
                 if ($request == 'release') {
                     $amavisserver = $CFG->amavisd_db_host;
@@ -56,7 +57,7 @@
                 } else if ($request == 'delete') {
                     $query[] = "UPDATE msgrcpt SET rs = 'D' WHERE mail_id = '$mail_id'";
                 } else if ($request == 'block') {
-                    $query[] = $recipient;
+                    $query[] = $sender;
                 } else {
                     error("Unknown operation [$request]");
                     exit;
This page took 0.047111 seconds and 5 git commands to generate.