20/08/2014, 21:34:11
$query = 'UPDATE '.cms_db_prefix().'content SET item_order = (item_order - 1), modified_date = ? WHERE content_id = ? AND parent_id = ?';
$db->Execute($query, array($date, $contentid, $parentid));
serait mieux.
un test sur chaque champs (est ce bien une date, un integer, ...) sécurisera complètement ton module
bon dev
$db->Execute($query, array($date, $contentid, $parentid));
serait mieux.
un test sur chaque champs (est ce bien une date, un integer, ...) sécurisera complètement ton module

bon dev