Subversion Repositories wpShopGermany4

Rev

Rev 7841 | Rev 7849 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7841 Rev 7842
Line 205... Line 205...
205
 
205
 
206
                        $arAttachmentIDs = $this->imagehandler->getAttachmentIDs($this->view['product_id'], $vari['id'], true);
206
                        $arAttachmentIDs = $this->imagehandler->getAttachmentIDs($this->view['product_id'], $vari['id'], true);
207
 
207
 
208
                    } else {
208
                    } else {
209
 
209
 
210
                        $vari_images = $this->get_option('wpsg_mod_productvariants_global_images');
-
 
211
                        if (!is_array($vari_images)) $vari_images = [];
210
                        $arAttachmentIDs = $vari['images'];
212
 
-
 
213
                        $arAttachmentIDs = ((isset($vari_images[$vari_id]))?$vari_images[$vari_id]:[]);
-
 
214
 
211
 
215
                    }
212
                    }
216
					
213
					
217
				?>
214
				?>
218
				<td class="ui-sortable" colspan="<?php echo $colspan; ?>"  id="wpsg_images_productimage_<?php echo $this->view['variant']['id']; ?>_<?php echo $vari['id']; ?>" >
215
				<td class="ui-sortable" colspan="<?php echo $colspan; ?>"  id="wpsg_images_productimage_<?php echo $this->view['variant']['id']; ?>_<?php echo $vari['id']; ?>" >