aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorCesar G <prototech91@gmail.com>2014-05-31 10:12:24 -0700
committerCesar G <prototech91@gmail.com>2014-05-31 10:12:24 -0700
commit95b9c938922a95c5755c66714989e42c03d7ee60 (patch)
tree15b24086aa473cf389aae62517b1580d2f9ebb92 /phpBB/posting.php
parent9c2687ddc9ba7071f7c98c118203f96a412e3d1b (diff)
downloadforums-95b9c938922a95c5755c66714989e42c03d7ee60.tar
forums-95b9c938922a95c5755c66714989e42c03d7ee60.tar.gz
forums-95b9c938922a95c5755c66714989e42c03d7ee60.tar.bz2
forums-95b9c938922a95c5755c66714989e42c03d7ee60.tar.xz
forums-95b9c938922a95c5755c66714989e42c03d7ee60.zip
[ticket/12640] Preserve the active tab when previewing in posting page.
PHPBB3-12640
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 2516067aae..60bb595da6 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -1546,6 +1546,7 @@ $page_data = array(
'ERROR' => (sizeof($error)) ? implode('<br />', $error) : '',
'TOPIC_TIME_LIMIT' => (int) $post_data['topic_time_limit'],
'EDIT_REASON' => $request->variable('edit_reason', ''),
+ 'SHOW_PANEL' => $request->variable('show_panel', ''),
'U_VIEW_FORUM' => append_sid("{$phpbb_root_path}viewforum.$phpEx", "f=$forum_id"),
'U_VIEW_TOPIC' => ($mode != 'post') ? append_sid("{$phpbb_root_path}viewtopic.$phpEx", "f=$forum_id&amp;t=$topic_id") : '',
'U_PROGRESS_BAR' => append_sid("{$phpbb_root_path}posting.$phpEx", "f=$forum_id&amp;mode=popup"),