X-Git-Url: http://git.cyclocoop.org/%22.%20%20%20generer_url_action%28%22logout%22%2C%22logout=prive%22%29%20.%20%20%20%22?a=blobdiff_plain;f=maintenance%2Fundelete.php;h=144518e40a63123d2c94c99ae9f9cc165b64ba9f;hb=70987ee4c08d0c19468f67d7482d5bd150a0ad39;hp=e9b2abd0f91b9e509c1c55db5c1b14277337c1e1;hpb=0c2687f44eb0e8c7f480b7303f89056682ba0bfb;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 ) {