diff options
author | plegall <plg@piwigo.org> | 2012-08-30 12:52:40 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2012-08-30 12:52:40 +0000 |
commit | 2c24b0b38ae678a0269b308ddf03ab1bc85630d2 (patch) | |
tree | 2d2a74dbd541a8f18190a9dd1b9249a8c6d3b38e /ws.php | |
parent | 391ac76cbea0e091534861c884d0e40761f0fba7 (diff) |
bug 2733 fixed: when creating a sub-album in a private album with
pwg.categories.add, it is automatically private too.
git-svn-id: http://piwigo.org/svn/branches/2.4@17668 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | ws.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -309,8 +309,8 @@ function ws_addDefaultMethods( $arr ) 'name' => array(), 'parent' => array('default' => null), 'comment' => array('default' => null), - 'visible' => array('default' => boolean_to_string($conf['newcat_default_visible'])), - 'status' => array('default' => $conf['newcat_default_status']), + 'visible' => array('default' => null), + 'status' => array('default' => null), 'commentable' => array('default' => 'true'), ), 'administration method only' |