Skip to content
Snippets Groups Projects
Commit c0e808d3 authored by Peter Rotich's avatar Peter Rotich
Browse files

Make sure only email info table is restricted to emailed tickets/messages

parent 0bcae13b
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,7 @@ INSERT INTO `%TABLE_PREFIX%ticket_email_info`
AND `thread_type` = 'M' ),
`messageId`, `headers`
FROM `%TABLE_PREFIX%ticket_message`
WHERE `messageId` IS NOT NULL;
WHERE `messageId` IS NOT NULL AND `messageId` <>'';
-- Update attachment table
UPDATE `%TABLE_PREFIX%ticket_attachment`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment