News:

Looking for documentation? Take a look on our wiki

Main Menu

mod_virtuemart_product vm-2.0 - typo bug

Started by lipes, January 13, 2012, 23:35:03 PM

Previous topic - Next topic

lipes

Line 5:   if ($products_per_row > 1) { $float= "floatleft";}

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

right? :)
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

brentonking

#1
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.