VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: lipes on January 13, 2012, 23:35:03 PM

Title: mod_virtuemart_product vm-2.0 - typo bug
Post by: lipes on January 13, 2012, 23:35:03 PM
Line 5:   if ($products_per_row > 1) { $float= "floatleft";}

it will be:
if ($products_per_row > 1) { $float= "float:left";}

right? :)
Title: Re: mod_virtuemart_product vm-2.0 - typo bug
Post by: brentonking on March 01, 2012, 13:30:02 PM
Perhaps?
Would it not be:
if ($products_per_row > 1) { $float="left";}

similar to the line below, which is:
else {$float="center";}

EDIT:
Actually I tried it all three ways and the initial is correct:
if ($products_per_row > 1) { $float= "floatleft";}

So it doesn't look like a typo.