From 15704b32e727f5d9eda344204df467913c754066 Mon Sep 17 00:00:00 2001 From: karl Date: Wed, 29 Mar 2023 08:43:18 +0000 Subject: - Bugfix: PHP 8.2 Optimierungen - Feature: Warenwert kann nun in der Bestellverwaltung angezeigt werden git-svn-id: https://[internal]/wordpress/plugins/wpsg4@8264 0d5edaf7-2b12-4e95-93f4-047927463d4b --- views/admin/konfiguration.phtml | 1 + views/admin/versandzonen_list.phtml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'views/admin') diff --git a/views/admin/konfiguration.phtml b/views/admin/konfiguration.phtml index 8d4a527..e769137 100644 --- a/views/admin/konfiguration.phtml +++ b/views/admin/konfiguration.phtml @@ -64,6 +64,7 @@ get_option('wpsg_produkte_perpage'), array('help' => 'ProduktePerPage')); ?> get_option('wpsg_order_perpage'), array('help' => 'Bestellung_pro_Seite')); ?> get_option('wpsg_showincompleteorder'), array('help' => 'unvollstaendige_Bestellung')); ?> + get_option('wpsg_showvalueofgoods'), array('help' => 'Warenwert_Bestellung')); ?> get_option('wpsg_currency')), $this->get_option('wpsg_emptyorder_clear'), array('help' => 'Bestellung_0')); ?> __('Auf Seite bleiben', 'wpsg'), diff --git a/views/admin/versandzonen_list.phtml b/views/admin/versandzonen_list.phtml index ea230d2..55f7ea5 100644 --- a/views/admin/versandzonen_list.phtml +++ b/views/admin/versandzonen_list.phtml @@ -13,7 +13,7 @@ foreach ($arShipping as $s_key => $s) { - if (intval($s['deleted']) !== 1 && intval($s['active']) === 1) { + if (intval($s['deleted']??'') !== 1 && intval($s['active']??'') === 1) { $arShippingPreset[$s_key] = $s['name']; -- cgit v1.2.3