mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-09 18:23:18 +02:00
fixes GHSA-wfmr-9hg8-jh3m protects pwg.activity.getList
This commit is contained in:
@@ -86,8 +86,14 @@ function ws_addDefaultMethods( $arr )
|
||||
array(
|
||||
'page' => array('default'=>null,
|
||||
'type'=>WS_TYPE_INT|WS_TYPE_POSITIVE),
|
||||
'uid' => array('default'=>NULL,
|
||||
'type'=>WS_TYPE_INT|WS_TYPE_POSITIVE),
|
||||
'offset' => array('default'=>0,
|
||||
'type'=>WS_TYPE_INT|WS_TYPE_POSITIVE),
|
||||
'uid' => array('default'=>NULL, 'type'=>WS_TYPE_ID),
|
||||
'date_min' => array('default'=>null),
|
||||
'date_max' => array('default'=>null),
|
||||
'id' => array('default'=>null, 'type'=>WS_TYPE_ID),
|
||||
'object' => array('default'=>null),
|
||||
'action' => array('default'=>null),
|
||||
),
|
||||
'Returns general informations.',
|
||||
$ws_functions_root . 'pwg.php',
|
||||
|
||||
Reference in New Issue
Block a user