1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

fix - wrong forum redirect url

This commit is contained in:
secretr
2011-06-27 09:11:29 +00:00
parent db5c9726df
commit 8c538b5633

View File

@@ -399,7 +399,7 @@ if (isset($_POST['update_thread']))
$forum->threadUpdate($postInfo['post_thread'], $threadVals); $forum->threadUpdate($postInfo['post_thread'], $threadVals);
$forum->postUpdate($postInfo['post_id'], $postVals); $forum->postUpdate($postInfo['post_id'], $postVals);
$e107cache->clear('newforumposts'); $e107cache->clear('newforumposts');
$url = $e107->url->getUrl('forum', 'thread', "func=post&id={$postInfo['post_id']}"); $url = $e107->url->getUrl('forum', 'thread', "func=post&id={$postInfo['post_id']}&raw=1");
header('location:'.$url); header('location:'.$url);
exit; exit;
} }