deleting a PM should take you to ?/inbox, not ?/
This commit is contained in:
parent
fb4f0672d7
commit
e43d12af5b
2
mod.php
2
mod.php
@ -691,7 +691,7 @@
|
|||||||
|
|
||||||
modLog('Deleted a PM');
|
modLog('Deleted a PM');
|
||||||
|
|
||||||
header('Location: ?/', true, $config['redirect_http']);
|
header('Location: ?/inbox', true, $config['redirect_http']);
|
||||||
} else {
|
} else {
|
||||||
if($pm['unread']) {
|
if($pm['unread']) {
|
||||||
$query = prepare("UPDATE `pms` SET `unread` = 0 WHERE `id` = :id");
|
$query = prepare("UPDATE `pms` SET `unread` = 0 WHERE `id` = :id");
|
||||||
|
Loading…
Reference in New Issue
Block a user