X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiQueryLogEvents.php;h=a6b97dd8957bb8262545231f1cc2783f6e9b35cb;hb=c96accbb60f93a4212d9c664637a92176259666f;hp=8fd1ed5ca9303729e7075ceeafdec54d3c9f202c;hpb=a075f50a86be14347100f662ccd683af4f437090;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiQueryLogEvents.php b/includes/api/ApiQueryLogEvents.php index 8fd1ed5ca9..a6b97dd895 100644 --- a/includes/api/ApiQueryLogEvents.php +++ b/includes/api/ApiQueryLogEvents.php @@ -418,7 +418,7 @@ class ApiQueryLogEvents extends ApiQueryBase { ApiBase::PARAM_HELP_MSG_PER_VALUE => [], ], 'type' => [ - ApiBase::PARAM_TYPE => $config->get( 'LogTypes' ) + ApiBase::PARAM_TYPE => LogPage::validTypes(), ], 'action' => [ // validation on request is done in execute()