diff options
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r-- | phpBB/posting.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index fbc91b47b9..b05c051549 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -488,6 +488,18 @@ if ($save && $user->data['is_registered'] && $auth->acl_get('u_savedrafts')) confirm_box(false, 'SAVE_DRAFT', $s_hidden_fields); } } + else + { + if (!$subject) + { + $error[] = $user->lang['EMPTY_SUBJECT']; + } + + if (!$message) + { + $error[] = $user->lang['TOO_FEW_CHARS']; + } + } unset($subject, $message); } |