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:
parent
73d9f75f3e
commit
32fa3ac522
1 changed files with 1 additions and 1 deletions
2
ws.php
2
ws.php
|
@ -479,7 +479,7 @@ function ws_addDefaultMethods( $arr )
|
||||||
array(
|
array(
|
||||||
'name' => array(),
|
'name' => array(),
|
||||||
'parent' => array('default'=>null,
|
'parent' => array('default'=>null,
|
||||||
'type'=>WS_TYPE_ID),
|
'type'=>WS_TYPE_INT|WS_TYPE_POSITIVE),
|
||||||
'comment' => array('default'=>null),
|
'comment' => array('default'=>null),
|
||||||
'visible' => array('default'=>true,
|
'visible' => array('default'=>true,
|
||||||
'type'=>WS_TYPE_BOOL),
|
'type'=>WS_TYPE_BOOL),
|
||||||
|
|
Loading…
Add table
Reference in a new issue