From d02cc8f1d825de35a9bb90c1ac25c5786a83ac3c Mon Sep 17 00:00:00 2001 From: flop25 Date: Mon, 18 Feb 2013 18:55:16 +0000 Subject: bug:2845 added 'tags' as potential array for pwg.images.addSimple git-svn-id: http://piwigo.org/svn/trunk@20814 68402e56-0260-453c-a942-63ccdbb3a9ee --- ws.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ws.php') diff --git a/ws.php b/ws.php index 9ebf537dc..61bb01276 100644 --- a/ws.php +++ b/ws.php @@ -279,7 +279,7 @@ function ws_addDefaultMethods( $arr ) 'default' => 0, 'maxValue' => $conf['available_permission_levels'] ), - 'tags' => array('default' => null), + 'tags' => array('default' => null, 'flags' => WS_PARAM_ACCEPT_ARRAY), 'image_id' => array('default' => null), ), 'POST method only.
Use the image field for uploading file.
Set the form encoding to "form-data"
category is the numeric identifier of the destination category.
You can update an existing photo if you define an existing image_id.' -- cgit v1.2.3