Don't double append :)
authorChad Horohoe <demon@users.mediawiki.org>
Fri, 2 Jan 2009 17:10:26 +0000 (17:10 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Fri, 2 Jan 2009 17:10:26 +0000 (17:10 +0000)
includes/Title.php

index 6dd164b..a35dbb4 100644 (file)
@@ -761,7 +761,7 @@ class Title {
                                                if( isset( $matches[4] ) ) $query .= $matches[4];
                                                $url = str_replace( '$1', $dbkey, $wgActionPaths[$action] );
                                                if( $query != '' ) {
-                                                       $url .= wfAppendQuery( $url, $query );
+                                                       $url = wfAppendQuery( $url, $query );
                                                }
                                        }
                                }