summaryrefslogtreecommitdiff
path: root/views/mods/mod_discount/settings_edit.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'views/mods/mod_discount/settings_edit.phtml')
-rw-r--r--views/mods/mod_discount/settings_edit.phtml3
1 files changed, 1 insertions, 2 deletions
diff --git a/views/mods/mod_discount/settings_edit.phtml b/views/mods/mod_discount/settings_edit.phtml
index d2b645c..248262b 100644
--- a/views/mods/mod_discount/settings_edit.phtml
+++ b/views/mods/mod_discount/settings_edit.phtml
@@ -44,7 +44,6 @@
<?php foreach ($this->view['wpsg_mod_discount']['hierarchie'] as $discount_typ) { ?>
<li class="<?php echo $discount_typ; ?>">
<input type="hidden" name="wpsg_mod_discount_hierarchie[]" value="<?php echo $discount_typ; ?>" />
- <input type="checkbox" value="<?php echo $discount_typ; ?>" <?php echo ((in_array($discount_typ, (array)explode(',', $this->get_option('wpsg_mod_discount_hierarchie'))))?'checked="checked"':''); ?> name="wpsg_mod_discount_hierarchie[]" />
<?php echo $this->callMod('wpsg_mod_discount', 'getNameFromType', array($discount_typ)); ?>
</li>
<?php } ?>
@@ -201,7 +200,7 @@
function wpsg_switchUniversalDiscount()
{
- if (jQuery('#wpsg_mod_discount_universal').attr("checked") == "checked")
+ if (jQuery('#wpsg_mod_discount_universal').prop('checked'))
{
jQuery('#wpsg_mod_discount_universal_layer').show();
}