diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2007-10-04 18:26:52 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2007-10-04 18:26:52 +0000 |
commit | c2085565789b4a5858ba9bb1189804b731cb2ab4 (patch) | |
tree | 11851950207e27073265bcbe5ee0f6275820b079 /phpBB/posting.php | |
parent | 2cd7f67ed5bf9d591d6b99e5a41e3ea7f1b18bea (diff) | |
download | forums-c2085565789b4a5858ba9bb1189804b731cb2ab4.tar forums-c2085565789b4a5858ba9bb1189804b731cb2ab4.tar.gz forums-c2085565789b4a5858ba9bb1189804b731cb2ab4.tar.bz2 forums-c2085565789b4a5858ba9bb1189804b731cb2ab4.tar.xz forums-c2085565789b4a5858ba9bb1189804b731cb2ab4.zip |
some bugfixes.
git-svn-id: file:///svn/phpbb/trunk@8138 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r-- | phpBB/posting.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index 13b9eeb020..629e811a03 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -1187,7 +1187,7 @@ $bbcode_checked = (isset($post_data['enable_bbcode'])) ? !$post_data['enable_bb $smilies_checked = (isset($post_data['enable_smilies'])) ? !$post_data['enable_smilies'] : (($config['allow_smilies']) ? !$user->optionget('smilies') : 1); $urls_checked = (isset($post_data['enable_urls'])) ? !$post_data['enable_urls'] : 0; $sig_checked = $post_data['enable_sig']; -$lock_topic_checked = (isset($topic_lock)) ? $topic_lock : (($post_data['topic_status'] == ITEM_LOCKED) ? 1 : 0); +$lock_topic_checked = (isset($topic_lock) && $topic_lock) ? $topic_lock : (($post_data['topic_status'] == ITEM_LOCKED) ? 1 : 0); $lock_post_checked = (isset($post_lock)) ? $post_lock : $post_data['post_edit_locked']; // If the user is replying or posting and not already watching this topic but set to always being notified we need to overwrite this setting |