Przeglądaj źródła

Merge pull request #1270 from Alkarex/Minz-url

Minz URL bug
Alexandre Alapetite 9 lat temu
rodzic
commit
c9fe77b186
1 zmienionych plików z 2 dodań i 0 usunięć
  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;