Fix several notices
This commit is contained in:
@@ -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']) {
|
||||
|
||||
Reference in New Issue
Block a user