summaryrefslogtreecommitdiff
path: root/views/mods/mod_request/requestmail_html.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'views/mods/mod_request/requestmail_html.phtml')
-rw-r--r--views/mods/mod_request/requestmail_html.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/mods/mod_request/requestmail_html.phtml b/views/mods/mod_request/requestmail_html.phtml
index 3bd016e..5cdd0b7 100644
--- a/views/mods/mod_request/requestmail_html.phtml
+++ b/views/mods/mod_request/requestmail_html.phtml
@@ -185,7 +185,7 @@
<?php /* Automatische Einbindung der benutzerdefinierten Felder BEGIN */ ?>
<?php if (wpsg_isSizedInt($this->get_option('wpsg_mod_request_customerdata'))) { ?>
- <?php foreach ((array)$this->view['pflicht']['custom'] as $c_id => $c) { if ($c['show'] != '2') { ?>
+ <?php foreach ((array)($this->view['pflicht']['custom']??[]) as $c_id => $c) { if ($c['show'] != '2') { ?>
<tr>
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col0"><?php echo __($c['name'], 'wpsg'); ?></td>
<td style="padding:2px; line-height:100%; vertical-align:middle;" class="col1">