* fix a bug #448.

This commit is contained in:
wyd621
2013-08-06 10:50:06 +08:00
parent c787e02007
commit 0fdf9dd1ec
+1
View File
@@ -1218,6 +1218,7 @@ class router
/* If the not strict mode, the keys of passed params and defaaul params msut be the same. */
if(!isset($this->config->strictParams) or $this->config->strictParams == false)
{
unset($passedParams['onlybody']);
$passedParams = array_values($passedParams);
$i = 0;
foreach($defaultParams as $key => $defaultValue)