mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Handle longtimenosee of zero
This commit is contained in:
parent
002f03a172
commit
333f44dab0
1 changed files with 1 additions and 1 deletions
|
@ -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>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue