X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2Fundelete.php;h=144518e40a63123d2c94c99ae9f9cc165b64ba9f;hb=0c4efc4dd942fe38cdbac6977a28f45314a9839e;hp=e9b2abd0f91b9e509c1c55db5c1b14277337c1e1;hpb=8a4a8a8dcbaf454c9f64cd8b5ba90704d7721500;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 ) {