From 2c24b0b38ae678a0269b308ddf03ab1bc85630d2 Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 30 Aug 2012 12:52:40 +0000 Subject: 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 --- 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