mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
git-svn-id: file:///svn/phpbb/trunk@6801 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
8e72037e67
commit
49b8060b0c
1 changed files with 12 additions and 0 deletions
|
@ -488,6 +488,18 @@ if ($save && $user->data['is_registered'] && $auth->acl_get('u_savedrafts'))
|
||||||
confirm_box(false, 'SAVE_DRAFT', $s_hidden_fields);
|
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);
|
unset($subject, $message);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue