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