aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-08-30 12:52:40 +0000
committerplegall <plg@piwigo.org>2012-08-30 12:52:40 +0000
commit2c24b0b38ae678a0269b308ddf03ab1bc85630d2 (patch)
tree2d2a74dbd541a8f18190a9dd1b9249a8c6d3b38e /ws.php
parent391ac76cbea0e091534861c884d0e40761f0fba7 (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.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/ws.php b/ws.php
index c0081cf77..86c7df21a 100644
--- a/ws.php
+++ b/ws.php
@@ -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'