aboutsummaryrefslogtreecommitdiffstats
path: root/ws.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2012-08-30 12:54:29 +0000
committerplegall <plg@piwigo.org>2012-08-30 12:54:29 +0000
commit6beee17904e7a8829fde211dba053993800ab04b (patch)
tree3048cf29d959164a11c50a90ec0f60e240dce9da /ws.php
parent62452b90cee3fb982e6f3298c84ae87549ccd179 (diff)
merge r17668 from branch 2.4 to trunk
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/trunk@17669 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'