mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-08 12:58:42 +00:00
fix: update status although email not set
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
04e6853222
commit
dfdc2a0756
@ -94,6 +94,9 @@ class UOJMail {
|
||||
DB::update("update emails set send_time = now() where id = {$email['id']}");
|
||||
echo '[UOJMail::cronSendEmail] ID: ' . $email['id'] . ' sent.' . "\n";
|
||||
}
|
||||
} else {
|
||||
DB::update("update emails set send_time = now() where id = {$email['id']}");
|
||||
echo '[UOJMail::cronSendEmail] ID: ' . $email['id'] . ' - empty email address.' . "\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user