1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-28 18:30:53 +02:00

Update forum_post.php

under function updateReply()
$url = e107::url('forum','topic',$this->data,true);
to
$url = e107::url('forum','topic',$this->data);

With true at the end, I get the redirect url creating a recursive e107_plugins/forum within the url and causing a 404.
This commit is contained in:
skcihmit
2015-06-21 12:06:52 +10:00
parent e8892454da
commit 690e197f69

View File

@@ -1046,7 +1046,7 @@ class forum_post_handler
// $url = e107::getUrl()->create('forum/thread/post', "id={$this->data['post_id']}", 'encode=0&full=1'); // XXX what data is available, find thread name // $url = e107::getUrl()->create('forum/thread/post', "id={$this->data['post_id']}", 'encode=0&full=1'); // XXX what data is available, find thread name
$url = e107::url('forum','topic',$this->data,true); // ."&f=post"; $url = e107::url('forum','topic',$this->data); // ."&f=post";
$this->redirect($url); $this->redirect($url);