aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorHenry Sudhof <kellanved@phpbb.com>2009-08-12 09:25:57 +0000
committerHenry Sudhof <kellanved@phpbb.com>2009-08-12 09:25:57 +0000
commit91b91494e201ee33d06fa86bc608f6f9fc45bdaa (patch)
tree997eb3ae6dbab06a9396843917e98a05a036df9c /phpBB/posting.php
parent5dd85e232355432f87156270236901df33232721 (diff)
downloadforums-91b91494e201ee33d06fa86bc608f6f9fc45bdaa.tar
forums-91b91494e201ee33d06fa86bc608f6f9fc45bdaa.tar.gz
forums-91b91494e201ee33d06fa86bc608f6f9fc45bdaa.tar.bz2
forums-91b91494e201ee33d06fa86bc608f6f9fc45bdaa.tar.xz
forums-91b91494e201ee33d06fa86bc608f6f9fc45bdaa.zip
#49465
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9960 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 05fabaca7c..bea534c5dd 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -39,7 +39,7 @@ $load = (isset($_POST['load'])) ? true : false;
$delete = (isset($_POST['delete'])) ? true : false;
$cancel = (isset($_POST['cancel']) && !isset($_POST['save'])) ? true : false;
-$refresh = (isset($_POST['add_file']) || isset($_POST['delete_file']) || isset($_POST['cancel_unglobalise']) || $save || $load) ? true : false;
+$refresh = (isset($_POST['add_file']) || isset($_POST['delete_file']) || isset($_POST['full_editor']) ||isset($_POST['cancel_unglobalise']) || $save || $load) ? true : false;
$mode = ($delete && !$preview && !$refresh && $submit) ? 'delete' : request_var('mode', '');
$error = $post_data = array();
@@ -1365,6 +1365,7 @@ generate_forum_nav($post_data);
// Build Forum Rules
generate_forum_rules($post_data);
+// Posting uses is_solved for legacy reasons. Plugins have to use is_solved to force themselves to be displayed.
if ($config['enable_post_confirm'] && !$user->data['is_registered'] && (isset($captcha) && $captcha->is_solved() === false) && ($mode == 'post' || $mode == 'reply' || $mode == 'quote'))
{
$captcha->reset();