diff options
author | Simon Rettberg | 2023-05-12 16:14:53 +0200 |
---|---|---|
committer | Simon Rettberg | 2023-05-12 16:14:53 +0200 |
commit | 9fc8dba4a44888cc6ebe1646612882edd768e2ca (patch) | |
tree | d7037feb89983e2ce0d0ebf6b267304f2eadfbbc /modules-available/eventlog/pages/transports.inc.php | |
parent | [inc/Mailer] Remove repeated Expire spam from error log (diff) | |
download | slx-admin-9fc8dba4a44888cc6ebe1646612882edd768e2ca.tar.gz slx-admin-9fc8dba4a44888cc6ebe1646612882edd768e2ca.tar.xz slx-admin-9fc8dba4a44888cc6ebe1646612882edd768e2ca.zip |
[eventlog] Fix php notice about undefined array index
Diffstat (limited to 'modules-available/eventlog/pages/transports.inc.php')
-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 c5d3713c..b993900d 100644 --- a/modules-available/eventlog/pages/transports.inc.php +++ b/modules-available/eventlog/pages/transports.inc.php @@ -150,7 +150,7 @@ class SubPage $entry[($entry['data']['http-method'] ?? '') . '_selected'] = 'selected'; $entry[($entry['data']['http-post-format'] ?? '') . '_selected'] = 'selected'; } else { - $entry = ['transportid' => $id]; + $entry = ['transportid' => $id, 'data' => [], 'backends' => []]; } $entry['users'] = []; foreach (Database::queryAll("SELECT userid, login, fullname, email FROM user ORDER BY login") as $row) { |