X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fedit.php;h=3609cf2249d613c0ecda1893720f057a5092bbc3;hb=62903326b11019a2189ce90d4ea3edd791d0b45e;hp=d4a7befd758b0378c867065bedc4636df350cf45;hpb=6ac8c496d16c1f88d1b8b4cf449085301ddefdce;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/edit.php b/maintenance/edit.php index d4a7befd75..3609cf2249 100644 --- a/maintenance/edit.php +++ b/maintenance/edit.php @@ -71,7 +71,7 @@ class EditCLI extends Maintenance { $wgUser->addToDatabase(); } - $title = Title::newFromText( $this->getArg() ); + $title = Title::newFromText( $this->getArg( 0 ) ); if ( !$title ) { $this->fatalError( "Invalid title" ); }