diff options
author | plegall <plg@piwigo.org> | 2009-12-07 22:28:40 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2009-12-07 22:28:40 +0000 |
commit | 34014e496e3a4b39f91ce234fd177b6c146ef907 (patch) | |
tree | c47b816183bec20b8da219fe37ec2a86e5c48107 /include/section_init.inc.php | |
parent | 72082dcc8b97d0f54219070ae4794802afde3e38 (diff) |
feature 1312 added: pwg.images.setInfo can replace multiple values propreties
(tags/categories). The primary condition is to provide "tag_ids" and/or
"categories" input parameters, ie pwg.images.set won't create emptiness. You
can reduce the set of tags/categories but not remove all tags/categories.
bug 1277 fixed: with a stronger algorithm for adding/replacing categories, we
now avoid to recreate an existing image_category association.
When a remote client calls pwg.images.setInfo, Piwigo returns an error 500 if:
1. the "categories" parameter is malformed (no numeric id inside)
2. one of the input categories does not exist at database level.
git-svn-id: http://piwigo.org/svn/branches/2.0@4444 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'include/section_init.inc.php')
0 files changed, 0 insertions, 0 deletions