X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fundelete.php;h=144518e40a63123d2c94c99ae9f9cc165b64ba9f;hb=9dcd12714e1dd761a62d68520ea6f4a370b4b735;hp=e9b2abd0f91b9e509c1c55db5c1b14277337c1e1;hpb=4eff5204d9ec6eb09df70d2fe017a2146cfa4238;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/undelete.php b/maintenance/undelete.php index e9b2abd0f9..144518e40a 100644 --- a/maintenance/undelete.php +++ b/maintenance/undelete.php @@ -37,7 +37,7 @@ class Undelete extends Maintenance { $user = $this->getOption( 'user', false ); $reason = $this->getOption( 'reason', '' ); - $pageName = $this->getArg(); + $pageName = $this->getArg( 0 ); $title = Title::newFromText( $pageName ); if ( !$title ) {