From 4f0bbcbadf55ec27e256743c77f255d751b3f277 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sun, 30 Apr 2006 08:01:13 +0000 Subject: [PATCH] r782: Add a relation on the userid --- includes/api_comment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api_comment.php b/includes/api_comment.php index 6d4b461..9218aa4 100644 --- a/includes/api_comment.php +++ b/includes/api_comment.php @@ -40,7 +40,7 @@ class CommentAPI extends API var $fields = array( 'commentid' => array(TYPE_UINT, REQ_AUTO, 'verify_nozero'), 'bugid' => array(TYPE_UINT, REQ_YES, 'verify_nozero'), - 'userid' => array(TYPE_UINT, REQ_NO), + 'userid' => array(TYPE_UINT, REQ_NO, null, array('includes/api_user.php', 'UserAPI')), 'dateline' => array(TYPE_UINT, REQ_SET), 'comment' => array(TYPE_STR, REQ_YES, 'verify_noempty'), 'comment_parsed' => array(TYPE_NONE, REQ_SET), -- 2.22.5