Commit 017806ba authored by Project Open's avatar Project Open

- Removed outcommented return when detecting an email with a duplicate ID

parent dab20ea8
......@@ -464,8 +464,7 @@ sub process_message {
my $body_q = $dbh->quote($body);
# --------------------------------------------------------
# Check for duplicates
# Check for duplicates
$sth = $dbh->prepare("SELECT min(ticket_id) as duplicate_ticket_id from im_tickets where ticket_email_id = '$email_id'");
$sth->execute() || die "import-pop3: Unable to execute SQL statement.\n";
my $row = $sth->fetchrow_hashref;
......@@ -479,7 +478,7 @@ sub process_message {
print "import-pop3: error: Duplicate To: $to\n";
print "import-pop3: error: Duplicate Subject: $subject_raw\n";
print "import-pop3: error: Duplicate ticket_id: $duplicate_ticket_id\n";
# return;
return;
}
# --------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment