Different product availability values in joomla2/3 with vm3.0.9

Started by welrachid, August 03, 2015, 08:00:59 AM

Previous topic - Next topic

welrachid

Hi. Am i the only one getting a value OF null in $product->product_availability when value is set to 0(zero)
In joomla3 i Get the actual text 0
In joomla2 i Get null

Thanks
Best regards,
Wel

welrachid

specifically i have been developing for client a product availability column in notification emails til customers.
in joomla2 this $product->product_availability was NULL when i did a var_dump (when value was set to a single ZERO). other values gave correct text-value.
in joomla3 on the other hand it was a string 0 which is correct

Best regards,
Wel