r93229 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r93228‎ | r93229 | r93230 >
Date:18:17, 26 July 2011
Author:aaron
Status:ok
Tags:
Comment:
Fixed broken explode() call
Modified paths:
  • /trunk/tools/mwmultiversion/multiversion/MWMultiVersion.php (modified) (history)

Diff [purge]

Index: trunk/tools/mwmultiversion/multiversion/MWMultiVersion.php
@@ -220,7 +220,7 @@
221221 * @return String the version number for this wiki (e.g. "x.xx" or "trunk")
222222 */
223223 public function getVersionNumber() {
224 - list( /*...*/, $ver ) = explode( $this->getVersion(), '-', 2 );
 224+ list( /*...*/, $ver ) = explode( '-', $this->getVersion(), 2 );
225225 return $ver;
226226 }
227227 }

Status & tagging log