From: RobLa Date: Wed, 2 May 2012 04:48:50 +0000 (-0700) Subject: (bug 36361) Fix git links in Special:Version - removing extra space X-Git-Tag: 1.31.0-rc.0~23758 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=576542a314468d88942fd47e61f543358aa627bf;p=lhc%2Fweb%2Fwiklou.git (bug 36361) Fix git links in Special:Version - removing extra space Change-Id: I731e163e5f329b78402ed3c6307547c847264587 --- diff --git a/includes/GitInfo.php b/includes/GitInfo.php index 74c07ccafc..b15cedd877 100644 --- a/includes/GitInfo.php +++ b/includes/GitInfo.php @@ -70,7 +70,7 @@ class GitInfo { if ( preg_match( "/ref: (.*)/", $HEAD, $m ) ) { return rtrim( $m[1] ); } else { - return $HEAD; + return rtrim( $HEAD ); } }