Handle longtimenosee of zero

This commit is contained in:
moodler 2005-02-07 01:23:44 +00:00
parent 002f03a172
commit 333f44dab0

View file

@ -134,7 +134,7 @@
} }
echo '</h2>'; echo '</h2>';
if (($CFG->longtimenosee < 500) and (!$page) and ($sort == "lastaccess")) { if (($CFG->longtimenosee > 0) and ($CFG->longtimenosee < 1000) and (!$page) and ($sort == "lastaccess")) {
echo '<p id="longtimenosee">('.get_string('unusedaccounts', '', $CFG->longtimenosee).')</p>'; echo '<p id="longtimenosee">('.get_string('unusedaccounts', '', $CFG->longtimenosee).')</p>';
} }