1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-12-18 02:16:03 +01:00

deleting a PM should take you to ?/inbox, not ?/

This commit is contained in:
Savetheinternet 2011-07-30 15:44:14 +10:00
parent fb4f0672d7
commit e43d12af5b

View File

@ -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");