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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user