diff options
author | mistic100 <mistic@piwigo.org> | 2013-10-31 17:27:37 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2013-10-31 17:27:37 +0000 |
commit | 32fa3ac5226562227f842f3514e372d8d6b8ca5c (patch) | |
tree | 97d9d01ff52ed34f877ce599ef28c32b81ab70d6 /ws.php | |
parent | 73d9f75f3e17ce3a325e63031e90f1ca909dffd0 (diff) |
bug 2982: pwg.categories.add parent parameter can be 0
git-svn-id: http://piwigo.org/svn/trunk@25264 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | ws.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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), |