Index: trunk/phase3/includes/SkinTemplate.php |
— | — | @@ -570,7 +570,7 @@ |
571 | 571 | $personal_urls = array(); |
572 | 572 | $page = $wgRequest->getVal( 'returnto', $this->thisurl ); |
573 | 573 | $query = $wgRequest->getVal( 'returntoquery', $this->thisquery ); |
574 | | - $returnto = "returnto=$page"; |
| 574 | + $returnto = wfArrayToCGI( array( 'returnto' => $page ) ); |
575 | 575 | if( $this->thisquery != '' ) { |
576 | 576 | $returnto .= "&returntoquery=$query"; |
577 | 577 | } |