From f7cc97c67062f9f24a2ad2e82f84b5177e479429 Mon Sep 17 00:00:00 2001 From: dimka3210 Date: Wed, 9 Jan 2013 08:07:12 +0000 Subject: [PATCH] r488 Fix posting.tpl git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@488 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293 --- upload/posting.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload/posting.php b/upload/posting.php index 947d4f663..38c1d609c 100644 --- a/upload/posting.php +++ b/upload/posting.php @@ -325,7 +325,7 @@ if ($submit || $refresh) } 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'); if (!IS_GUEST && $mode != 'newtopic' && !$notify_user) {