Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace:

Diff

599
 
602
 
602
 
image.php
_> 5858 
  5959       $width = $height = '';
  6060 
<> 61 -      if ($this->_groups[$group_id]['force_size'] == '1') {
   61+      if ( ($this->_groups[$group_id]['force_size'] == '1') || empty($image) ) {
6262         $width = $this->_groups[$group_id]['size_width'];
  6363         $height = $this->_groups[$group_id]['size_height'];
  6464       }
  6565 
<> 66 -      return tep_image(DIR_WS_HTTP_CATALOG . DIR_WS_IMAGES . 'products/' . $this->_groups[$group_id]['code'] . '/' . $image, $title, $width, $height, $parameters);
   66+      if (empty($image)) {
   67+        $image = 'pixel_trans.gif';
   68+      } else {
   69+        $image = 'products/' . $this->_groups[$group_id]['code'] . '/' . $image;
   70+      }
   71+
   72+      return tep_image(DIR_WS_HTTP_CATALOG . DIR_WS_IMAGES . $image, $title, $width, $height, $parameters);
<_ 6773     }
  6874 
  6975     function getAddress(&$image, $group = 'default') {