소스 검색

Merge pull request #1270 from Alkarex/Minz-url

Minz URL bug
Alexandre Alapetite 9 년 전
부모
커밋
c9fe77b186
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      lib/Minz/Url.php

+ 2 - 0
lib/Minz/Url.php

@@ -78,6 +78,8 @@ class Minz_Url {
 		}
 
 		if (isset($url['params'])) {
+			unset($url['params']['c']);
+			unset($url['params']['a']);
 			foreach ($url['params'] as $key => $param) {
 				$uri .= $separator . urlencode($key) . '=' . urlencode($param);
 				$separator = $and;