X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fprotect.php;h=1603ab0407f6fd1fdffabb1260e42e39caf404a5;hb=29f2d9d7857ee693f49d064c3a0513772b7a558c;hp=e2c1a8b340f7ba51dc011b6841eae5326908d147;hpb=c2cedf71ee1464f8b4c974906cbca4c8cd80a4e6;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" ); }