Commit 39bb83f2 authored by mbriand's avatar mbriand
Browse files

fuck

parent d5fca562
......@@ -194,7 +194,7 @@ if (! isset($_REQUEST["allprod"]))
FROM `cpt_produits`
WHERE `cpt_produits`.`id_assocpt` = ".$asso->id."
AND prod_archive =0");
if (isset($_REQUEST["allprod"]) || ($req_produits->lines > 0))
if (isset($_REQUEST["allprod"]) || ($req_produits->lines <= 0))
$req_produits = new requete($site->db, "SELECT `id_produit` , `nom_prod`
FROM `cpt_produits`");
......
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