Permalink
Browse files

fixed bug in router.

  • Loading branch information...
1 parent 2460e0d commit 51ad213e2b0c3b0df69a8fec57c1eb113ceb3bf1 @DorianGray DorianGray committed Jan 29, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 core/Common/functions.inc.php
@@ -45,6 +45,8 @@ function UriToArray(&$Uri)
{
$pathArray = explode('/', $Uri);
array_shift($pathArray);
+ $tempArray = explode('?', $pathArray[count($pathArray)-1]);
+ $pathArray[count($pathArray)-1] = $tempArray[0];
if(!end($pathArray))
array_pop($pathArray);
return $pathArray;

0 comments on commit 51ad213

Please sign in to comment.