summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/mods/mod_ordercondition/list.phtml2
-rw-r--r--views/mods/mod_productvariants/admin_edit.phtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/views/mods/mod_ordercondition/list.phtml b/views/mods/mod_ordercondition/list.phtml
index a8fc581..0a242c9 100644
--- a/views/mods/mod_ordercondition/list.phtml
+++ b/views/mods/mod_ordercondition/list.phtml
@@ -153,7 +153,7 @@
/* ]]> */</script>
- <div class="wpsg_mod_ordercondition_shipping_<?php echo $oc['id']; ?>" style="display:<?php echo (($oc['type'] === '3')?'block':'none'); ?>;">
+ <div class="wpsg_mod_ordercondition_shipping_<?php echo $oc['id']; ?>" style="display:<?php echo (($oc['typ'] === '3')?'block':'none'); ?>;">
<?php echo wpsg_drawForm_TextStart(); ?>
<span class="wpsg_editable" id="oc_shipping_<?php echo $oc['id']; ?>"><?php
diff --git a/views/mods/mod_productvariants/admin_edit.phtml b/views/mods/mod_productvariants/admin_edit.phtml
index f55bc9f..0a0dda4 100644
--- a/views/mods/mod_productvariants/admin_edit.phtml
+++ b/views/mods/mod_productvariants/admin_edit.phtml
@@ -181,7 +181,7 @@
<td class="ui-sortable" colspan="<?php echo $colspan; ?>" id="wpsg_mod_productvariants_productimage_<?php echo $k; ?>_<?php echo $kv; ?>" >
<?php $j = 0; foreach ($temp as $b) { $j ++; ?>
<?php // $this->view['variant']['id'] $vari $var $kv $_REQUEST['pic']
- $file2 = $b['basenameori'];
+ $file2 = $b['basename'];
$href = wp_get_attachment_image_src($b['post_id'], Array(25, 25));
?>
<a class="<?php echo ((in_array($file2, explode(",", $vari['pic'])))?'mark':''); ?> pic" id="<?php echo $file2; ?>"