X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiUndelete.php;h=840ef1bc8345353b003e162097c3e9db89ae159a;hb=1ee582b2a867207a95e3e4d3ff11ea814e216cdd;hp=3aa7b608dca7497ff39550ee562d24070bdf000c;hpb=2ffff73a46c29cdad1cbf59063f4dd75debd3b4c;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiUndelete.php b/includes/api/ApiUndelete.php index 3aa7b608dc..840ef1bc83 100644 --- a/includes/api/ApiUndelete.php +++ b/includes/api/ApiUndelete.php @@ -1,9 +1,5 @@ .@gmail.com" * * This program is free software; you can redistribute it and/or modify @@ -69,7 +65,7 @@ class ApiUndelete extends ApiBase { $pa = new PageArchive( $titleObj, $this->getConfig() ); $retval = $pa->undelete( - ( isset( $params['timestamps'] ) ? $params['timestamps'] : [] ), + ( $params['timestamps'] ?? [] ), $params['reason'], $params['fileids'], false,