Commit b5d0216a authored by mbriand's avatar mbriand
Browse files

Limite pas utilisateur pour les produits

parent 73b3e461
......@@ -500,7 +500,7 @@ class produit extends stdentity
if ($this->limite_utilisateur >= 0)
$req = new requete($site->db,
$req = new requete($this->db,
"SELECT SUM(quantite) nb FROM `cpt_debitfacture`
INNER JOIN `cpt_vendu` USING(`id_facture`)
WHERE `id_utilisateur_client`='".intval($user->id)."'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment