bug 2982: pwg.categories.add parent parameter can be 0

git-svn-id: http://piwigo.org/svn/trunk@25264 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
mistic100 2013-10-31 17:27:37 +00:00
parent 73d9f75f3e
commit 32fa3ac522

2
ws.php
View file

@ -479,7 +479,7 @@ function ws_addDefaultMethods( $arr )
array(
'name' => array(),
'parent' => array('default'=>null,
'type'=>WS_TYPE_ID),
'type'=>WS_TYPE_INT|WS_TYPE_POSITIVE),
'comment' => array('default'=>null),
'visible' => array('default'=>true,
'type'=>WS_TYPE_BOOL),