Fix posting.tpl git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@488 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293
This commit is contained in:
dimka3210 2013-01-09 08:07:12 +00:00
commit f7cc97c670

View file

@ -325,7 +325,7 @@ if ($submit || $refresh)
} }
else else
{ {
$to_draft = ($bb_cfg['status_of_draft']) ? $post_info['is_draft'] : false ; $to_draft = ($bb_cfg['status_of_draft'] && $mode == 'editpost') ? $post_info['is_draft'] : false ;
$notify_user = bf($userdata['user_opt'], 'user_opt', 'notify'); $notify_user = bf($userdata['user_opt'], 'user_opt', 'notify');
if (!IS_GUEST && $mode != 'newtopic' && !$notify_user) if (!IS_GUEST && $mode != 'newtopic' && !$notify_user)
{ {