Fix crash with expiration, false logger constant, no empty postings

This commit is contained in:
Michael 2017-07-19 05:51:39 +00:00
parent f71bd4f1f7
commit 4a7ca0d44f
2 changed files with 9 additions and 4 deletions

View file

@ -52,7 +52,7 @@ function update_fail($update_id, $error_message) {
// No valid result?
if (!dbm::is_result($adminlist)) {
logger(sprintf('Cannot notify administrators about update_id=%d, error_message=%s', $update_id, $error_message), LOGGER_WARNING);
logger(sprintf('Cannot notify administrators about update_id=%d, error_message=%s', $update_id, $error_message), LOGGER_NORMAL);
// Don't continue
return;