From 333f44dab06cd7026ebbf04cf843aa33cbaadc87 Mon Sep 17 00:00:00 2001 From: moodler Date: Mon, 7 Feb 2005 01:23:44 +0000 Subject: [PATCH] Handle longtimenosee of zero --- user/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user/index.php b/user/index.php index 23db93bde0b..32c74e3f1d4 100644 --- a/user/index.php +++ b/user/index.php @@ -134,7 +134,7 @@ } echo ''; - if (($CFG->longtimenosee < 500) and (!$page) and ($sort == "lastaccess")) { + if (($CFG->longtimenosee > 0) and ($CFG->longtimenosee < 1000) and (!$page) and ($sort == "lastaccess")) { echo '

('.get_string('unusedaccounts', '', $CFG->longtimenosee).')

'; }