Forum: Fix move post functionnality

pull/4413/head
Borja Sánchez 3 years ago
parent 5634b0e8c0
commit 0ac280dfaa
  1. 2
      main/forum/forumfunction.inc.php
  2. 2
      main/forum/viewthread.php

@ -4779,7 +4779,7 @@ function move_post_form()
$values = $form->exportValues(); $values = $form->exportValues();
store_move_post($values); store_move_post($values);
} else { } else {
$form->display(); return $form->returnForm();
} }
} }

@ -113,7 +113,7 @@ switch ($action) {
case 'move': case 'move':
if (isset($_GET['post'])) { if (isset($_GET['post'])) {
$message = move_post_form(); $message = move_post_form();
Display::addFlash(Display::return_message(get_lang($message))); Display::addFlash(Display::return_message(get_lang($message), 'normal', false));
} }
header('Location: '.$currentUrl); header('Location: '.$currentUrl);
exit; exit;

Loading…
Cancel
Save