From: Trevor Parscal Date: Thu, 16 Jul 2009 19:27:06 +0000 (+0000) Subject: Fixed bug that caused the last parameter of the generated users scripts (see Skin... X-Git-Tag: 1.31.0-rc.0~40884 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=84e9dfc434a131484e91ede5254466ea54bda9c4;p=lhc%2Fweb%2Fwiklou.git Fixed bug that caused the last parameter of the generated users scripts (see Skin:generateUserJs) to become corrupted from a ? being always used to append an additional parameter (which if there are already paramters breaks stuff). --- diff --git a/includes/OutputPage.php b/includes/OutputPage.php index e317827bf5..614b812912 100644 --- a/includes/OutputPage.php +++ b/includes/OutputPage.php @@ -158,7 +158,7 @@ class OutputPage { Xml::element( 'script', array( 'type' => $wgJsMimeType, - 'src' => "$path?" . $this->getURIDparam(), + 'src' => wfAppendQuery( $path, $this->getURIDparam() ), ), '', false )