X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiUndelete.php;h=840ef1bc8345353b003e162097c3e9db89ae159a;hb=a93cf8f4eee40a448bcd99b8fe1c32dc80775b6b;hp=3aa7b608dca7497ff39550ee562d24070bdf000c;hpb=fa32e55a7c7c133fd841f474237c6a11a1ff0588;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,