summaryrefslogtreecommitdiff
path: root/includes/user.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/user.inc')
-rw-r--r--includes/user.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/user.inc b/includes/user.inc
index 5c97cb02d..18f48ce52 100644
--- a/includes/user.inc
+++ b/includes/user.inc
@@ -103,7 +103,7 @@ function user_ban($mask, $type) {
function user_gravity($id) {
global $status;
- $period = 5184000; // maximum 60 days
+ $period = 5184000; // maximum 60 days
$number = 30; // maximum 30 comments
$r1 = db_query("SELECT COUNT(nid) AS number FROM node WHERE author = '$id' AND (". time() ." - timestamp < $period) AND status = '$status[posted]'");