aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-02-10 23:48:55 +0000
committerplegall <plg@piwigo.org>2012-02-10 23:48:55 +0000
commit2bfedaea5c401b3878b3d7b71ac51a7d7742e139 (patch)
tree3c9da8add3fa883ee011dbe415fdb26d02940367 /ws.php
parent8afb39b1eb1e0269acf70cc921da6c4fc9a42c3c (diff)
feature added: pwg.images.add can perform an update on an existing photo.
git-svn-id: http://piwigo.org/svn/trunk@13090 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--ws.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/ws.php b/ws.php
index 53ba4ab83..45e4ae76d 100644
--- a/ws.php
+++ b/ws.php
@@ -260,6 +260,7 @@ function ws_addDefaultMethods( $arr )
'maxValue' => $conf['available_permission_levels']
),
'check_uniqueness' => array('default' => true),
+ 'image_id' => array('default' => null),
),
'POST method only.
<br><b>categories</b> is a string list "category_id[,rank];category_id[,rank]" The rank is optional and is equivalent to "auto" if not given.'