diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-06-24 08:51:57 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-06-24 08:51:57 +0200 |
commit | 11e312f41c2b1d9dedce96874914d4dc4cf38efc (patch) | |
tree | 8ec0ebc8b6340a90353bf79c6121e419a17487a8 /phpBB/includes/functions_posting.php | |
parent | d43da6cee93c9caff133edd754756db9550520da (diff) | |
parent | 77c2b2a51dfd429b7bac10d84017e4b2da321e30 (diff) | |
download | forums-11e312f41c2b1d9dedce96874914d4dc4cf38efc.tar forums-11e312f41c2b1d9dedce96874914d4dc4cf38efc.tar.gz forums-11e312f41c2b1d9dedce96874914d4dc4cf38efc.tar.bz2 forums-11e312f41c2b1d9dedce96874914d4dc4cf38efc.tar.xz forums-11e312f41c2b1d9dedce96874914d4dc4cf38efc.zip |
Merge pull request #3528 from RMcGirr83/ticket/13598
[ticket/13598] Allow topic lock on topic creation
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 4f3b7ecfcf..56795a9a68 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'])) |