mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-25 07:35:48 -07:00
Update posting.php
This commit is contained in:
parent
ed239d1a4e
commit
2383834a94
1 changed files with 4 additions and 4 deletions
|
@ -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 = '';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue