Fix several notices

This commit is contained in:
Michael 2020-12-29 21:38:23 +00:00
parent cf65725373
commit a294c19d6e
3 changed files with 7 additions and 3 deletions

View file

@ -291,6 +291,9 @@ class Event
}
$contact = DBA::selectFirst('contact', [], $conditions);
if (!DBA::isResult($contact)) {
Logger::warning('Contact not found', ['condition' => $conditions]);
}
// Existing event being modified.
if ($event['id']) {