From 0fdf9dd1ec2d89908000fe44802644ab8f4bc291 Mon Sep 17 00:00:00 2001 From: wyd621 Date: Tue, 6 Aug 2013 10:50:06 +0800 Subject: [PATCH] * fix a bug #448. --- framework/router.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/router.class.php b/framework/router.class.php index 707ea028ef..aa529cb38b 100755 --- a/framework/router.class.php +++ b/framework/router.class.php @@ -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)