diff options
author | plegall <plg@piwigo.org> | 2011-06-14 12:06:55 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2011-06-14 12:06:55 +0000 |
commit | e7f8265da1a7d2db0fd24766e34574ae4259ff66 (patch) | |
tree | 6e7641b89764777da086b9ca362484d57ad13bb3 /ws.php | |
parent | 67a2a5684325353da5b078c95a66f50128dd5451 (diff) |
bug 2343 fixed: pwg.images.setInfo, the "level" should not be mandatory. If
the caller doesn't send this property, the level is unchanged.
git-svn-id: http://piwigo.org/svn/branches/2.2@11365 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'ws.php')
-rw-r--r-- | ws.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -350,7 +350,7 @@ function ws_addDefaultMethods( $arr ) 'categories' => array('default' => null), 'tag_ids' => array('default' => null), 'level' => array( - 'default' => 0, + 'default' => null, 'maxValue' => $conf['available_permission_levels'] ), 'single_value_mode' => array('default' => 'fill_if_empty'), |