Fix: Syntax error

This commit is contained in:
Laurent Destailleur 2013-09-18 00:33:49 +02:00
parent 1e29a97a89
commit d3efd86e3d

View File

@ -102,7 +102,7 @@ else
{ {
if (GETPOST('type')) if (GETPOST('type'))
{ {
$sql .= " AND p.fk_product_type = " . GETPOST('type')); $sql .= " AND p.fk_product_type = " . GETPOST('type','int');
} }
if ($sref) if ($sref)
{ {