aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-06-24 08:52:05 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-06-24 08:52:05 +0200
commit58b40945b0ec8b32f28e622186c99618b5e26f10 (patch)
treeb8aa7dae9fcb84931c2907dec378f296c47a3a1c /phpBB/includes/functions_posting.php
parent8213f24b352ce2ea714686738fefc70acccf0681 (diff)
parent11e312f41c2b1d9dedce96874914d4dc4cf38efc (diff)
downloadforums-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.php1
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']))