From f672f9f92a0cf0c610def4149a69877c919e37c6 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Wed, 10 Apr 2019 13:53:21 +0200 Subject: [PATCH] Minor - update from 1.11.x --- main/forum/newthread.php | 1 - main/forum/reply.php | 1 - main/template/default/forum/posts.tpl | 2 ++ 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main/forum/newthread.php b/main/forum/newthread.php index 197a526d89..9def8014ab 100755 --- a/main/forum/newthread.php +++ b/main/forum/newthread.php @@ -155,7 +155,6 @@ $htmlHeadXtra[] = " $form = show_add_post_form( $current_forum, 'newthread', - '', isset($_SESSION['formelements']) ? $_SESSION['formelements'] : null ); diff --git a/main/forum/reply.php b/main/forum/reply.php index 8b208a5f42..0778719cde 100755 --- a/main/forum/reply.php +++ b/main/forum/reply.php @@ -164,7 +164,6 @@ Event::registerLog($logInfo); $form = show_add_post_form( $current_forum, $my_action, - $my_post, $my_elements ); diff --git a/main/template/default/forum/posts.tpl b/main/template/default/forum/posts.tpl index 229af244bb..32eaef2b6f 100644 --- a/main/template/default/forum/posts.tpl +++ b/main/template/default/forum/posts.tpl @@ -54,4 +54,6 @@ {{ display.panel('', post_data) }} {% endfor %} + + {{ form }} {% endblock %}