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