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

Forum: Fixes #1079 - broken 'move' url.

This commit is contained in:
Cameron
2015-06-26 10:26:47 -07:00
parent 1073171387
commit 84485c50da
6 changed files with 31 additions and 9 deletions

View File

@@ -564,8 +564,7 @@ class plugin_forum_view_shortcodes extends e_shortcode
if ($type == 'thread')
{
$url = e107::url('forum','post')."?f=move&id=".$this->postInfo['post_thread']."&post=".$this->postInfo['post_id'];
// $url = e107::getUrl()->create('forum/thread/move', array('id' => $this->postInfo['post_id'], 'post'=>$this->postInfo['post_id']));
$url = e107::url('forum','move', array('thread_id'=>$this->postInfo['post_thread']));
$text .= "<li class='text-right'><a href='" . $url."'>".LAN_FORUM_2042." ".$tp->toGlyph('move')."</a></a></li>";
}
else //TODO