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

Bug in ps_product when using product types

Started by Oliver Griffiths, February 12, 2008, 18:27:40 PM

Previous topic - Next topic

Oliver Griffiths

Hi,

Im not sure if this has been fixed in the latest version of 1.1, but I noticed a bug in ps_product.

Line: 670.

If the user enters an apostraphie eg: don't in a field in the product type info, and it doesnt get converted to its html counterpart by the wysiwyg, then theres an sql error when saving the data as it isnt escaped.

$value="'($value'";

should be

$value="'".addslashes($value)."'";

Hope this helps

Oli