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
Branches
Tags
No related merge requests found
......@@ -869,7 +869,7 @@ Class ThreadEntry {
.' ,poster='.db_input($poster)
.' ,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
// inline attachments are saved and updated in the database)
$sql.=' ,body='.db_input($vars['body']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment