1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 03:40:37 +02:00

URL assembling issue

This commit is contained in:
secretr
2011-12-02 19:20:12 +00:00
parent 1b83f6a5e4
commit 23223ac4aa

View File

@@ -1899,7 +1899,7 @@ class eRouter
}
$route = implode('/', $route);
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))
{
// TODO request userParams() to store private data - check for noPopulat param here
$request->populateRequestParams();
$this->$actionMethodName();
$this->postAction();
}