News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

space missing in htmlcode

Started by greyow, March 30, 2008, 12:25:01 PM

Previous topic - Next topic

greyow

Description:
There is not one space in product page's html code.

VirtueMart Version: VirtueMart_1.1.0_1332
Joomla Version: 1.5.2

Steps to replicate:
index.php?page=shop.product_details&flypage=flypage-ask.tpl&product_id=17&category_id=5&option=com_virtuemart&Itemid=2
<img src="http://.../components/com_virtuemart/show_image_in_imgtag.php?filename=resized%2F..._90x90.jpg &amp;newxsize=90&amp;newysize=90&amp;fileout=" height="90" width="63"
alt="libbenő fülbevaló vörös"border="0" /><br />
                                           ^^^ missing

Proposed fix(es):
/administrator/components/com_virtuemart/classes/ps_product.php
1344 row.
return vmCommonHTML::imageTag( $url, '', '', $height, $width, '', '', $args.$border );

return vmCommonHTML::imageTag( $url, '', '', $height, $width, '', '', $args.' '.$border );


System info:
MySQL: 5.0.45-Debian_1-log
PHP:  4.4.4-9+lenny1
Apache/1.3.34 (Debian) PHP/4.4.4-9+lenny1 mod_fastcgi/2.4.2
Mozilla/5.0 (X11; U; Linux i686; hu; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13