From 6beee17904e7a8829fde211dba053993800ab04b Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 30 Aug 2012 12:54:29 +0000 Subject: 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 --- ws.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ws.php') 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' -- cgit v1.2.3