Index: branches/liquidthreads/extensions/LqtBaseView.php |
— | — | @@ -252,14 +252,18 @@ |
253 | 253 | function queryReplace( $repls ) { |
254 | 254 | $vs = $this->request->getValues(); |
255 | 255 | $rs = array(); |
256 | | - foreach ($vs as $k => $v) { |
| 256 | +/* foreach ($vs as $k => $v) { |
257 | 257 | if ( array_key_exists( $k, $repls ) ) { |
258 | 258 | $rs[$k] = $repls[$k]; |
259 | 259 | } else { |
260 | 260 | $rs[$k] = $vs[$k]; |
261 | 261 | } |
262 | 262 | } |
263 | | - return $this->title->getFullURL(self::queryStringFromArray($rs)); |
| 263 | +*/ |
| 264 | + foreach ( $repls as $k => $v ) { |
| 265 | + $vs[$k] = $v; |
| 266 | + } |
| 267 | + return $this->title->getFullURL(self::queryStringFromArray($vs)); |
264 | 268 | } |
265 | 269 | |
266 | 270 | /************************************************************* |