Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-helpdesk
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-helpdesk
Commits
017806ba
Commit
017806ba
authored
Sep 26, 2021
by
Project Open
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Removed outcommented return when detecting an email with a duplicate ID
parent
dab20ea8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
import-pop3.perl
perl/import-pop3.perl
+2
-3
No files found.
perl/import-pop3.perl
View file @
017806ba
...
...
@@ -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
;
}
# --------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment