mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
URL assembling issue
This commit is contained in:
@@ -1899,7 +1899,7 @@ class eRouter
|
|||||||
}
|
}
|
||||||
$route = implode('/', $route);
|
$route = implode('/', $route);
|
||||||
if(!$route || $route == $alias) $urlSuffix = '';
|
if(!$route || $route == $alias) $urlSuffix = '';
|
||||||
return $format === self::FORMAT_GET ? $base.'?'.$this->routeVar.'='.implode('/', $route).$anc : $base.$route.$urlSuffix.$anc;
|
return $format === self::FORMAT_GET ? $base.'?'.$this->routeVar.'='.$route.$anc : $base.$route.$urlSuffix.$anc;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -2561,6 +2561,8 @@ class eController
|
|||||||
{
|
{
|
||||||
if(method_exists($this, $actionMethodName))
|
if(method_exists($this, $actionMethodName))
|
||||||
{
|
{
|
||||||
|
// TODO request userParams() to store private data - check for noPopulat param here
|
||||||
|
$request->populateRequestParams();
|
||||||
$this->$actionMethodName();
|
$this->$actionMethodName();
|
||||||
$this->postAction();
|
$this->postAction();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user