From 36d403659cb1fae85c320e9f03c355f2fe3aa922 Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 31 Jan 2024 13:20:17 +0100 Subject: [PATCH] (cp 9fdba44d3) fixes #2005 in pwg.images.uploadCompleted, parameter category_id is mandatory --- ws.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ws.php b/ws.php index f49ff8e74..398aea2d4 100644 --- a/ws.php +++ b/ws.php @@ -823,7 +823,7 @@ function ws_addDefaultMethods( $arr ) array( 'image_id' => array('default'=>null, 'flags'=>WS_PARAM_ACCEPT_ARRAY), 'pwg_token' => array(), - 'category_id' => array('default'=>null, 'type'=>WS_TYPE_ID), + 'category_id' => array('type'=>WS_TYPE_ID), ), 'Notifiy Piwigo you have finished to upload a set of photos. It will empty the lounge, if any.', $ws_functions_root . 'pwg.images.php',