diff options
| author | karl <noreply@maennchen1.de> | 2023-03-29 08:43:18 +0000 |
|---|---|---|
| committer | karl <noreply@maennchen1.de> | 2023-03-29 08:43:18 +0000 |
| commit | 15704b32e727f5d9eda344204df467913c754066 (patch) | |
| tree | 67f78b7b06b2ce577fc40539064b870473700ef1 /views/mods/mod_export/profil.phtml | |
| parent | 8736dee8aa2e83dea1a237053f626d6103708e88 (diff) | |
- 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
Diffstat (limited to 'views/mods/mod_export/profil.phtml')
| -rw-r--r-- | views/mods/mod_export/profil.phtml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/views/mods/mod_export/profil.phtml b/views/mods/mod_export/profil.phtml index b471e0d..9284f71 100644 --- a/views/mods/mod_export/profil.phtml +++ b/views/mods/mod_export/profil.phtml @@ -222,7 +222,9 @@ <?php if ($this->hasMod('wpsg_mod_produktartikel')) { $temp = $this->callMod('wpsg_mod_produktartikel', 'getProductcategorySelect', array()); ?>
<?php $arProductCategorySelect = array(); foreach ($temp as $k => $v) $arProductCategorySelect[$v['term_id']] = $v['label']; ?>
- <?php echo wpsg_drawForm_Text(__('Produktkategorie', 'wpsg'), $arProductCategorySelect[wpsg_getStr($this->view['profil']['orderfilter']['productcategory_ids'], '-1')], 'orderfilter_productcategory_ids', array('inlineEdit' => true, 'inlineEdit_type' => 'select', 'inlineEdit_url' => $inlineEdit_url, 'inlineEdit_source' => $arProductCategorySelect)); ?>
+ <?php $productCategoryIds = wpsg_getStr($this->view['profil']['orderfilter']['productcategory_ids'], '-1'); ?>
+ <?php $selectedCategory = $arProductCategorySelect['-1'] ?? ''; ?>
+ <?php echo wpsg_drawForm_Text(__('Produktkategorie', 'wpsg'), $arProductCategorySelect[$productCategoryIds], 'orderfilter_productcategory_ids', array('inlineEdit' => true, 'inlineEdit_type' => 'select', 'inlineEdit_url' => $inlineEdit_url, 'inlineEdit_source' => $arProductCategorySelect)); ?>
<?php } ?>
</form>
|
