GX-Bug #54110 » ManufactureLogoFIx.patch
src/templates/Honeygrid/smarty/function.product_ribbons.php (revision ) | ||
---|---|---|
198 | 198 |
$query = ' |
199 | 199 |
SELECT m.manufacturers_id, m.manufacturers_name, m.manufacturers_image, i.manufacturers_url |
200 | 200 |
FROM manufacturers AS m |
201 |
INNER JOIN manufacturers_info AS i
|
|
201 |
LEFT JOIN manufacturers_info AS i
|
|
202 | 202 |
ON (i.manufacturers_id = m.manufacturers_id AND i.languages_id = ' . (int)$_SESSION['languages_id'] . ') |
203 | 203 |
WHERE m.manufacturers_id = ' . (int)$manufacturersId . ' |
204 | 204 |
AND m.manufacturers_image != "" |