mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-08 09:43:01 +02:00
Initial work to support PHP 7.2
This commit is contained in:
@@ -617,7 +617,7 @@ Request format: ".@$this->_requestFormat." Response format: ".@$this->_responseF
|
||||
static function ws_getMethodList($params, &$service)
|
||||
{
|
||||
$methods = array_filter($service->_methods,
|
||||
create_function('$m', 'return empty($m["options"]["hidden"]) || !$m["options"]["hidden"];'));
|
||||
function($m) { return empty($m["options"]["hidden"]) || !$m["options"]["hidden"];} );
|
||||
return array('methods' => new PwgNamedArray( array_keys($methods),'method' ) );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user