diff options
author | flop25 <flop25@piwigo.org> | 2013-02-18 18:55:16 +0000 |
---|---|---|
committer | flop25 <flop25@piwigo.org> | 2013-02-18 18:55:16 +0000 |
commit | d02cc8f1d825de35a9bb90c1ac25c5786a83ac3c (patch) | |
tree | 30af7b1f5ed65746aacab740d8ac5cf5d32c7250 /ws.php | |
parent | 75fa687b88f09f12dd75691837b252545206df75 (diff) |
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
Diffstat (limited to 'ws.php')
-rw-r--r-- | ws.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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.<br>Use the <b>image</b> field for uploading file.<br>Set the form encoding to "form-data"<br><b>category</b> is the numeric identifier of the destination category.<br>You can update an existing photo if you define an existing image_id.' |