summaryrefslogtreecommitdiff
path: root/modules/user.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user.module')
-rw-r--r--modules/user.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user.module b/modules/user.module
index 5bde04273..b12bc2b2f 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -484,7 +484,7 @@ function user_block() {
// Who's online block
$time = 60 * 60; // minutes * seconds
- $limit = 0; // List the X most recent people
+ $limit = 5; // List the X most recent people
$result = db_query("SELECT uid, name FROM users WHERE timestamp > unix_timestamp() - ($time) ORDER BY timestamp DESC LIMIT $limit");