Hi,
if (!empty($message->thread_id) && ($message->body === NULL || $message->body === '') ) {
if ($form) {
form_set_error('body', t('You must include a message in your reply.'));
}
else {
$messages['error'][] = t('A message must be included in your reply.');
}
}
Please add trim($message->body).
Reason is if i enter blank message above the validation take place. But in press enter key(with out typing anything) then blank message is saving. Please add trim($message->body). It will trim and check $message->body content.
Regards
tssarun.
Closed: outdated
1.4
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.