1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-29 02:29:21 +02:00
git-svn-id: file:///svn/phpbb/trunk@6801 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M 2006-12-24 06:26:03 +00:00
parent 8e72037e67
commit 49b8060b0c

View File

@ -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);
}