summaryrefslogtreecommitdiff
path: root/views/warenkorb/basket.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'views/warenkorb/basket.phtml')
-rw-r--r--views/warenkorb/basket.phtml6
1 files changed, 5 insertions, 1 deletions
diff --git a/views/warenkorb/basket.phtml b/views/warenkorb/basket.phtml
index 4c68672..1454e54 100644
--- a/views/warenkorb/basket.phtml
+++ b/views/warenkorb/basket.phtml
@@ -76,7 +76,11 @@
<?php if (wpsg_isSizedString($arBilder[0]['guid'])) { ?>
<?php
- $url = $this->callMod('wpsg_mod_produktbilder', 'getProductImage_MT', array($p['product_key'], 'medium'));
+ if (isset($p['product_key'])) {
+ $url = $this->callMod('wpsg_mod_produktbilder', 'getProductImage_MT', array($p['product_key'], 'medium'));
+ } else {
+ $url = $this->callMod('wpsg_mod_produktbilder', 'getProductImage_MT', array($p['productkey'], 'medium'));
+ }
echo "<img src=".$url." alt='' />";
?>