X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=maintenance%2Fstorage%2FdumpRev.php;h=7d9883eb4fe51d53a46d7cf011976b689c7618ac;hb=45db9a49ccc2292bc48a180e77c62b752e1ce23f;hp=b00db2083d11793310df2ece6a3a78e797217cf4;hpb=d4cc4f2b4f20725725a9345c7a4b7906e5aa66d2;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/storage/dumpRev.php b/maintenance/storage/dumpRev.php index b00db2083d..7d9883eb4f 100644 --- a/maintenance/storage/dumpRev.php +++ b/maintenance/storage/dumpRev.php @@ -39,7 +39,7 @@ class DumpRev extends Maintenance { } public function execute() { - $id = (int)$this->getArg(); + $id = (int)$this->getArg( 0 ); $lookup = MediaWikiServices::getInstance()->getRevisionLookup(); $rev = $lookup->getRevisionById( $id );