diff --git a/include/ws_functions.inc.php b/include/ws_functions.inc.php
index 7f0952ec3..199175bb7 100644
--- a/include/ws_functions.inc.php
+++ b/include/ws_functions.inc.php
@@ -1977,11 +1977,22 @@ SELECT *
if (isset($params['tags']) and !empty($params['tags']))
{
$tag_ids = array();
- $tag_names = preg_split('~(? 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.'