GX-Bug #50799 » ProductsPHP71Fix.patch
src/includes/classes/product.php (revision ) | ||
---|---|---|
861 | 861 |
'PRODUCTS_IMAGE' => $this->productImage($array['products_image'], $image), |
862 | 862 |
'PRODUCTS_IMAGE_W' => $array['products_image_w'], |
863 | 863 |
'PRODUCTS_IMAGE_H' => $array['products_image_h'], |
864 |
'PRODUCTS_IMAGE_WIDTH' => PRODUCT_IMAGE_THUMBNAIL_WIDTH,
|
|
865 |
'PRODUCTS_IMAGE_PADDING' => ((PRODUCT_IMAGE_THUMBNAIL_HEIGHT + 8) - $array['products_image_h']) / 2,
|
|
864 |
'PRODUCTS_IMAGE_WIDTH' => intval(PRODUCT_IMAGE_THUMBNAIL_WIDTH),
|
|
865 |
'PRODUCTS_IMAGE_PADDING' => ((intval(PRODUCT_IMAGE_THUMBNAIL_HEIGHT) + 8) - intval($array['products_image_h'])) / 2,
|
|
866 | 866 |
'PRODUCTS_IMAGE_ALT' => $array['gm_alt_text'], |
867 | 867 |
'PRODUCTS_LINK' => $gm_product_link, |
868 | 868 |
'PRODUCTS_PRICE' => $products_price['formated'], |