Update posting.php

This commit is contained in:
Roman Kelesidis 2024-04-30 14:40:33 +07:00
commit 2383834a94

View file

@ -202,17 +202,17 @@ if (!$is_auth[$is_auth_type]) {
switch ($mode) { switch ($mode) {
case 'newtopic': case 'newtopic':
$redirect = "mode=newtopic&f=$forum_id"; $redirect = "mode=newtopic&" . POST_FORUM_URL . "=$forum_id";
break; break;
case 'new_rel': case 'new_rel':
$redirect = "mode=new_rel&f=$forum_id"; $redirect = "mode=new_rel&" . POST_FORUM_URL . "=$forum_id";
break; break;
case 'reply': case 'reply':
$redirect = "mode=reply&t=$topic_id"; $redirect = "mode=reply&" . POST_TOPIC_URL . "=$topic_id";
break; break;
case 'quote': case 'quote':
case 'editpost': case 'editpost':
$redirect = "mode=quote&p=$post_id"; $redirect = "mode=quote&" . POST_POST_URL . "=$post_id";
break; break;
default: default:
$redirect = ''; $redirect = '';