From 690e197f69bb048082d8b87b452492d4b642fd23 Mon Sep 17 00:00:00 2001 From: skcihmit Date: Sun, 21 Jun 2015 12:06:52 +1000 Subject: [PATCH] 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. --- e107_plugins/forum/forum_post.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e107_plugins/forum/forum_post.php b/e107_plugins/forum/forum_post.php index 1795e0417..c032011c9 100644 --- a/e107_plugins/forum/forum_post.php +++ b/e107_plugins/forum/forum_post.php @@ -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::url('forum','topic',$this->data,true); // ."&f=post"; + $url = e107::url('forum','topic',$this->data); // ."&f=post"; $this->redirect($url); @@ -1780,4 +1780,4 @@ function image_getsize($fname) require_once(FOOTERF);*/ -?> \ No newline at end of file +?>