forked from leftypol/leftypol
deleting a PM should take you to ?/inbox, not ?/
This commit is contained in:
parent
fb4f0672d7
commit
e43d12af5b
1 changed files with 1 additions and 1 deletions
2
mod.php
2
mod.php
|
@ -691,7 +691,7 @@
|
|||
|
||||
modLog('Deleted a PM');
|
||||
|
||||
header('Location: ?/', true, $config['redirect_http']);
|
||||
header('Location: ?/inbox', true, $config['redirect_http']);
|
||||
} else {
|
||||
if($pm['unread']) {
|
||||
$query = prepare("UPDATE `pms` SET `unread` = 0 WHERE `id` = :id");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue