mirror of
https://github.com/moodle/moodle.git
synced 2025-02-05 15:53:36 +01:00
Tiny fix for forum_cron() to suppress a warning.
This commit is contained in:
parent
aaf7a9dc9f
commit
d658167fb5
@ -464,7 +464,7 @@ function forum_cron () {
|
||||
}
|
||||
}
|
||||
|
||||
if($usermailcount > 0) {
|
||||
if(!empty($usermailcount)) {
|
||||
echo "\n".get_string('digestsentusers', 'forum', $usermailcount)."\n";
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user