mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 13:21:54 +02:00
Moving the system to the new URL assembling, fixed call to a non-existent eUrl method system wide.
This commit is contained in:
@@ -143,7 +143,9 @@ if ($pages)
|
||||
if(strpos($FORUM_VIEW_START, 'THREADPAGES') !== false || strpos($FORUM_VIEW_END, 'THREADPAGES') !== false)
|
||||
{
|
||||
//if(!$page) $page = 1;
|
||||
$url = rawurlencode(e107::getUrl()->getUrl('forum', 'forum', array('func' => 'view', 'id' => $forumId, 'page' => '[FROM]')));
|
||||
|
||||
// __FIX URL__ - forum urls - fixed only parse error
|
||||
$url = rawurlencode(e107::getUrl()->create('forum', 'forum', array('func' => 'view', 'id' => $forumId, 'page' => '[FROM]')));
|
||||
$parms = "total={$pages}&type=page¤t={$page}&url=".$url."&caption=off";
|
||||
$fVars->THREADPAGES = $e107->tp->parseTemplate("{NEXTPREV={$parms}}");
|
||||
}
|
||||
|
Reference in New Issue
Block a user