diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-06-24 08:52:05 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-06-24 08:52:05 +0200 |
commit | 58b40945b0ec8b32f28e622186c99618b5e26f10 (patch) | |
tree | b8aa7dae9fcb84931c2907dec378f296c47a3a1c /phpBB/includes/functions_posting.php | |
parent | 8213f24b352ce2ea714686738fefc70acccf0681 (diff) | |
parent | 11e312f41c2b1d9dedce96874914d4dc4cf38efc (diff) | |
download | forums-58b40945b0ec8b32f28e622186c99618b5e26f10.tar forums-58b40945b0ec8b32f28e622186c99618b5e26f10.tar.gz forums-58b40945b0ec8b32f28e622186c99618b5e26f10.tar.bz2 forums-58b40945b0ec8b32f28e622186c99618b5e26f10.tar.xz forums-58b40945b0ec8b32f28e622186c99618b5e26f10.zip |
Merge branch '3.1.x'
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r-- | phpBB/includes/functions_posting.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php index 5ba8c3ca1a..2ba1ee7002 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -1754,6 +1754,7 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u 'topic_type' => $topic_type, 'topic_time_limit' => ($topic_type == POST_STICKY || $topic_type == POST_ANNOUNCE) ? ($data['topic_time_limit'] * 86400) : 0, 'topic_attachment' => (!empty($data['attachment_data'])) ? 1 : 0, + 'topic_status' => (isset($data['topic_status'])) ? $data['topic_status'] : ITEM_UNLOCKED, ); if (isset($poll['poll_options']) && !empty($poll['poll_options'])) |