Fix error if form is not set BT#10894

pull/2487/head
jmontoyaa 9 years ago
parent 2069223b43
commit 73d7f7e64e
  1. 5
      main/forum/reply.php

@ -195,8 +195,9 @@ echo Display::url(
echo '</h1>';
echo '<p class="forum_description">'.prepare4display($current_forum['forum_comment']).'</p>';
echo '</div>';
$form->display();
if ($form) {
$form->display();
}
if ($origin == 'learnpath') {
Display::display_reduced_footer();

Loading…
Cancel
Save