]> git.mjollnir.org Git - moodle.git/commitdiff
Handle longtimenosee of zero
authormoodler <moodler>
Mon, 7 Feb 2005 01:23:44 +0000 (01:23 +0000)
committermoodler <moodler>
Mon, 7 Feb 2005 01:23:44 +0000 (01:23 +0000)
user/index.php

index 23db93bde0b5bb951d36ab833d385a145b3bc747..32c74e3f1d4ca7925cd8fd7e26b7042cc5f78078 100644 (file)
     }
     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>';
     }