Skip to content

Commit d16e541

Browse files
committed
Add 'human' param to global whitelist
1 parent a05b8bb commit d16e541

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Elasticsearch/Endpoints/AbstractEndpoint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ private function checkUserParams($params)
212212
return; //no params, just return.
213213
}
214214

215-
$whitelist = array_merge($this->getParamWhitelist(), array('client', 'custom', 'filter_path'));
215+
$whitelist = array_merge($this->getParamWhitelist(), array('client', 'custom', 'filter_path', 'human'));
216216

217217
$invalid = array_diff(array_keys($params), $whitelist);
218218
if (count($invalid) > 0) {

0 commit comments

Comments
 (0)