diff options
author | Richard McGirr <rmcgirr83@gmail.com> | 2015-04-09 06:20:04 -0400 |
---|---|---|
committer | RMcGirr83 <rmcgirr83@gmail.com> | 2015-04-09 08:44:40 -0400 |
commit | 77c2b2a51dfd429b7bac10d84017e4b2da321e30 (patch) | |
tree | 00214ca4756f6aa83eb110ae04d9af065761c619 /phpBB/includes/functions_posting.php | |
parent | 4276f49efaa290cf57936f782f26dbb0ab15ad2c (diff) | |
download | forums-77c2b2a51dfd429b7bac10d84017e4b2da321e30.tar forums-77c2b2a51dfd429b7bac10d84017e4b2da321e30.tar.gz forums-77c2b2a51dfd429b7bac10d84017e4b2da321e30.tar.bz2 forums-77c2b2a51dfd429b7bac10d84017e4b2da321e30.tar.xz forums-77c2b2a51dfd429b7bac10d84017e4b2da321e30.zip |
[ticket/13598] Allow topic lock on topic creation
PHPBB3-13598
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 a06d6f4c35..02823f2655 100644 --- a/phpBB/includes/functions_posting.php +++ b/phpBB/includes/functions_posting.php @@ -1738,6 +1738,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'])) |