summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhartmut <noreply@maennchen1.de>2017-07-12 06:04:34 +0000
committerhartmut <noreply@maennchen1.de>2017-07-12 06:04:34 +0000
commit0f5f3f9a78a21519a99312b46ac0e0570df864b1 (patch)
tree262c6357be018987d5906a8ce6d90158aa12e27c
parent3a4d58b48e8ec7ddd6ca237a93b83fea8694389f (diff)
Versand-/Zahlungsarten Mehrfachauswahl
git-svn-id: https://[internal]/wordpress/plugins/wpsg4@6374 0d5edaf7-2b12-4e95-93f4-047927463d4b
-rw-r--r--views/produkt/addedit_payship.phtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/produkt/addedit_payship.phtml b/views/produkt/addedit_payship.phtml
index b9f01c6..f51a6d0 100644
--- a/views/produkt/addedit_payship.phtml
+++ b/views/produkt/addedit_payship.phtml
@@ -9,7 +9,7 @@
<?php echo wpsg_drawForm_Select('wpsg_paymentmethods_select', '', array('0' => __('Alle', 'wpsg'), '1' => __('Auswahl', 'wpsg')), ((wpsg_isSizedArray($this->view['allowedPayment']))?'1':'0')); ?>
<div class="wpsg_paymentmethods_select">
<?php foreach ($this->arPayment as $p) { if (!isset($p['deleted']) || $p['deleted'] != '1') { ?>
- <?php echo wpsg_drawForm_Checkbox('wpsg_paymentmethods[]', $p['name'], in_array($p['id'], (array)$this->view['allowedPayment']), array('id' => 'wpsg_paymentmethods_'.$p['id'], 'value' => $p['id'])); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_paymentmethods[]', $p['name'], in_array($p['id'], (array)$this->view['allowedPayment']), array('id' => 'wpsg_paymentmethods_'.$p['id'], 'value' => (string)$p['id'])); ?>
<?php } } ?>
</div>
@@ -34,7 +34,7 @@
<?php echo wpsg_drawForm_Select('wpsg_shippingmethods_select', '', array('0' => __('Alle', 'wpsg'), '1' => __('Auswahl', 'wpsg')), ((wpsg_isSizedArray($this->view['allowedShipping']))?'1':'0')); ?>
<div class="wpsg_shippingmethods_select">
<?php foreach ($this->arShipping as $s) { if (!isset($s['deleted']) || $s['deleted'] != '1') { ?>
- <?php echo wpsg_drawForm_Checkbox('wpsg_shippingmethods[]', $s['name'], in_array($s['id'], (array)$this->view['allowedShipping']), array('id' => 'wpsg_paymentmethods_'.$s['id'], 'value' => $s['id'])); ?>
+ <?php echo wpsg_drawForm_Checkbox('wpsg_shippingmethods[]', $s['name'], in_array($s['id'], (array)$this->view['allowedShipping']), array('id' => 'wpsg_shippingmethods_'.$s['id'], 'value' => $s['id'])); ?>
<?php } } ?>
</div>