aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ws.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/ws.php b/ws.php
index d7fef2634..b25282361 100644
--- a/ws.php
+++ b/ws.php
@@ -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),