diff options
Diffstat (limited to 'modules/comment')
-rw-r--r-- | modules/comment/comment.module | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 635f64192..ce84a6e34 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1129,6 +1129,7 @@ function comment_num_replies($pid) { * @param $timestamp * Time to count from (defaults to time of last user access * to node). + * @return The result or FALSE on error. */ function comment_num_new($nid, $timestamp = 0) { global $user; @@ -1146,7 +1147,7 @@ function comment_num_new($nid, $timestamp = 0) { return $result; } else { - return 0; + return FALSE; } } |