SQL param protect type

This commit is contained in:
Michael RICOIS 2017-08-25 10:54:11 +02:00
parent 8c40caedf8
commit f7857a3f40

View File

@ -398,7 +398,7 @@ class SaleCore extends ObjectModel{
WHERE
a0.`id_privatesales` = g.`id_privatesales`
AND
g.id_group = '.$_GET['id_group'].')
g.id_group = '.(int)$_GET['id_group'].')
');
}