summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/admin/module.phtml2
-rw-r--r--views/mods/mod_deliverynote/settings_edit.phtml2
-rw-r--r--views/mods/mod_rechnungen/order_view.phtml2
-rw-r--r--views/mods/mod_surfaceproduct/produkt_edit_sidebar.phtml2
-rw-r--r--views/order/index.phtml4
5 files changed, 6 insertions, 6 deletions
diff --git a/views/admin/module.phtml b/views/admin/module.phtml
index 32d4bea..2eb18e8 100644
--- a/views/admin/module.phtml
+++ b/views/admin/module.phtml
@@ -176,7 +176,7 @@
</form>
<?php } ?>
- <?php if (array_key_exists($_REQUEST['modul'], $this->arModule) && (!isset($this->arAllModule[$_REQUEST['modul']]->version) || (($this->arAllModule[$_REQUEST['modul']]->free === true || (is_array($this->arLizenz) && in_array($_REQUEST['modul'], (array)$this->arLizenz['mods'])))))) { ?>
+ <?php if (array_key_exists($_REQUEST['modul'], @$this->arModule) && (!isset($this->arAllModule[$_REQUEST['modul']]->version) || ((@$this->arAllModule[$_REQUEST['modul']]->free === true || (is_array(@$this->arLizenz) && in_array($_REQUEST['modul'], (array)@$this->arLizenz['mods'])))))) { ?>
<?php echo $this->arModule[$_REQUEST['modul']]->settings_edit_afterform(); ?>
<?php } ?>
diff --git a/views/mods/mod_deliverynote/settings_edit.phtml b/views/mods/mod_deliverynote/settings_edit.phtml
index 8602340..9795f28 100644
--- a/views/mods/mod_deliverynote/settings_edit.phtml
+++ b/views/mods/mod_deliverynote/settings_edit.phtml
@@ -57,7 +57,7 @@
<?php $logo_transparency = $this->get_option("wpsg_mod_deliverynote_logo_transparency") ?: "0%"; ?>
- <?php $strSuffix = ''; if ($this->view['logo'] !== false) { $strSuffix = '
+ <?php $strSuffix = ''; if (@$this->view['logo'] !== false) { $strSuffix = '
<div class="row">
<div class="col-md-4">
<div class="align-buttons">
diff --git a/views/mods/mod_rechnungen/order_view.phtml b/views/mods/mod_rechnungen/order_view.phtml
index 5ab80d8..2e27e62 100644
--- a/views/mods/mod_rechnungen/order_view.phtml
+++ b/views/mods/mod_rechnungen/order_view.phtml
@@ -201,7 +201,7 @@
<input checked="checked" onchange="if (this.checked) jQuery('#wpsg_rechnungen_faelligkeitsdatum').show(); else jQuery('#wpsg_rechnungen_faelligkeitsdatum').hide();" type="checkbox" value="1" name="wpsg_rechnungen_faelligkeit" />
&nbsp;<?php echo __("Fälligkeit anzeigen", "wpsg"); ?>
</label>
- <input type="text" style="display:block; width:300px; float:right;" id="wpsg_rechnungen_faelligkeitsdatum" name="wpsg_rechnungen_faelligkeitsdatum" value="<?php echo date("d.m.Y", time() + ($this->get_option("wpsg_rechnungen_faelligkeit") * 86400)); ?>" />
+ <input type="text" style="display:block; width:300px; float:right;" id="wpsg_rechnungen_faelligkeitsdatum" name="wpsg_rechnungen_faelligkeitsdatum" value="<?php echo @date("d.m.Y", time() + ($this->get_option("wpsg_rechnungen_faelligkeit") * 86400)); ?>" />
<div style="clear:both; width:100%; height:5px;"></div>
<label style="height:25px; width:220px; float:left;">
diff --git a/views/mods/mod_surfaceproduct/produkt_edit_sidebar.phtml b/views/mods/mod_surfaceproduct/produkt_edit_sidebar.phtml
index c92a617..f16034e 100644
--- a/views/mods/mod_surfaceproduct/produkt_edit_sidebar.phtml
+++ b/views/mods/mod_surfaceproduct/produkt_edit_sidebar.phtml
@@ -22,7 +22,7 @@
<div id="wpsg_mod_surfaceproduct_mode_<?php echo wpsg_mod_surfaceproduct::MODE_RUNNING; ?>" class="wpsg_mod_surfaceproduct_mode">
<?php echo wpsg_drawForm_Input('wpsg_mod_surfaceproduct[wpsg_mod_surfaceproduct_mode_running]', __('vordefinierte Breite:', 'wpsg'), $this->view['data']['wpsg_mod_surfaceproduct_mode_running'], array('help' => 'wpsg_mod_surfaceproduct_mode_running')); ?>
</div>
- <?php echo wpsg_drawForm_Text(__('Einheit:', 'wpsg'), $this->view['data']['wpsg_mod_surfaceproduct_einheit'], array('help' => 'wpsg_mod_surfaceproduct_einheit')); ?>
+ <?php echo wpsg_drawForm_Text(__('Einheit:', 'wpsg'), @$this->view['data']['wpsg_mod_surfaceproduct_einheit'], array('help' => 'wpsg_mod_surfaceproduct_einheit')); ?>
<div id="wpsg_mod_surfaceproduct_mode_<?php echo wpsg_mod_surfaceproduct::MODE_HEIGHTWIDE; ?>" class="wpsg_mod_surfaceproduct_mode"></div>
</div>
diff --git a/views/order/index.phtml b/views/order/index.phtml
index a43ffd1..0f6d6ee 100644
--- a/views/order/index.phtml
+++ b/views/order/index.phtml
@@ -133,10 +133,10 @@
<br />
- <?php $arShippingSelect = []; foreach ($this->arShipping as $shipping_id => $shipping) if (!isset($shipping['active']) || $shipping['active'] === '1') $arShippingSelect[$shipping_id] = $shipping['name'].' ('.wpsg_ff($shipping['price']).')'; ?>
+ <?php $arShippingSelect = []; foreach ($this->arShipping as $shipping_id => $shipping) if (!isset($shipping['active']) || $shipping['active'] === '1') $arShippingSelect[$shipping_id] = $shipping['name'].' ('.wpsg_ff(@$shipping['price']).')'; ?>
<?php echo wpsg_drawForm_Select('add_shipping', __('Versandart', 'wpsg'), $arShippingSelect, @$_REQUEST['add_shipping']); ?>
- <?php $arPaymentSelect = []; foreach ($this->arPayment as $payment_id => $payment) if (!isset($payment['active']) || $payment['active'] === '1') $arPaymentSelect[$payment_id] = $payment['name'].' ('.wpsg_ff($payment['price']).')'; ?>
+ <?php $arPaymentSelect = []; foreach ($this->arPayment as $payment_id => $payment) if (!isset($payment['active']) || $payment['active'] === '1') $arPaymentSelect[$payment_id] = $payment['name'].' ('.wpsg_ff(@$payment['price']).')'; ?>
<?php echo wpsg_drawForm_Select('add_payment', __('Zahlungsart', 'wpsg'), $arPaymentSelect, @$_REQUEST['add_payment']); ?>
<br /><?php echo wpsg_drawForm_SubmitButton(__('Bestellung anlegen')); ?><br />