From: moodler Date: Mon, 7 Feb 2005 01:23:44 +0000 (+0000) Subject: Handle longtimenosee of zero X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=333f44dab06cd7026ebbf04cf843aa33cbaadc87;p=moodle.git Handle longtimenosee of zero --- diff --git a/user/index.php b/user/index.php index 23db93bde0..32c74e3f1d 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).')

'; }