Skip to content
Snippets Groups Projects
Commit 8c4c8338 authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: Add message body if no attachments included

parent bf014022
No related branches found
No related tags found
No related merge requests found
...@@ -869,7 +869,7 @@ Class ThreadEntry { ...@@ -869,7 +869,7 @@ Class ThreadEntry {
.' ,poster='.db_input($poster) .' ,poster='.db_input($poster)
.' ,source='.db_input($vars['source']); .' ,source='.db_input($vars['source']);
if (!isset($vars['attachments'])) if (!isset($vars['attachments']) || !$vars['attachments'])
// Otherwise, body will be configured in a block below (after // Otherwise, body will be configured in a block below (after
// inline attachments are saved and updated in the database) // inline attachments are saved and updated in the database)
$sql.=' ,body='.db_input($vars['body']); $sql.=' ,body='.db_input($vars['body']);
......
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