diff options
-rw-r--r-- | modules-available/eventlog/pages/transports.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/eventlog/pages/transports.inc.php b/modules-available/eventlog/pages/transports.inc.php index b993900d..05143247 100644 --- a/modules-available/eventlog/pages/transports.inc.php +++ b/modules-available/eventlog/pages/transports.inc.php @@ -160,7 +160,7 @@ class SubPage } $entry['mailconfigs'] = []; foreach (Database::queryAll("SELECT configid, host, port, senderaddress FROM mail_config") as $row) { - $row['selected'] = $row['configid'] == $entry['data']['mail-config-id'] ? 'selected' : ''; + $row['selected'] = $row['configid'] == ($entry['data']['mail-config-id'] ?? []) ? 'selected' : ''; $entry['mailconfigs'][] = $row; } foreach (Database::queryAll("SELECT transportid, title FROM notification_backend") as $row) { |