summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-03-05 22:10:21 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-03-05 22:10:21 +0000
commit1fe8d6b1959b2b5ac4d70a9030ccd51d1f9b5449 (patch)
tree5f29dddd8ded910ddc2ce2db90a7b9ec0a034937 /modules
parente3d2c46f04b2d510e60a3266f2b3bc2e4550eb85 (diff)
downloadbrdo-1fe8d6b1959b2b5ac4d70a9030ccd51d1f9b5449.tar.gz
brdo-1fe8d6b1959b2b5ac4d70a9030ccd51d1f9b5449.tar.bz2
- more typo bugs.
Diffstat (limited to 'modules')
-rw-r--r--modules/user.module2
-rw-r--r--modules/user/user.module2
2 files changed, 2 insertions, 2 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");
diff --git a/modules/user/user.module b/modules/user/user.module
index 5bde04273..b12bc2b2f 100644
--- a/modules/user/user.module
+++ b/modules/user/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");