X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fprotect.php;h=1603ab0407f6fd1fdffabb1260e42e39caf404a5;hb=e390198c4e4be7632b01173e42050061f1cc346a;hp=e2c1a8b340f7ba51dc011b6841eae5326908d147;hpb=2b14cc0096de48b4863ea7daee55951701f6dc99;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/protect.php b/maintenance/protect.php index e2c1a8b340..1603ab0407 100644 --- a/maintenance/protect.php +++ b/maintenance/protect.php @@ -62,7 +62,7 @@ class Protect extends Maintenance { $this->fatalError( "Invalid username" ); } - $t = Title::newFromText( $this->getArg() ); + $t = Title::newFromText( $this->getArg( 0 ) ); if ( !$t ) { $this->fatalError( "Invalid title" ); }