Tiny fix for forum_cron() to suppress a warning.
This commit is contained in:
+1
-1
@@ -464,7 +464,7 @@ function forum_cron () {
|
||||
}
|
||||
}
|
||||
|
||||
if($usermailcount > 0) {
|
||||
if(!empty($usermailcount)) {
|
||||
echo "\n".get_string('digestsentusers', 'forum', $usermailcount)."\n";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user