Commit db412fca authored by mbriand's avatar mbriand
Browse files

bleh

parent 1c85d044
......@@ -195,13 +195,15 @@ if (! isset($_REQUEST["allprod"]))
$req_produits = new requete($site->db, "SELECT `id_produit`, `nom_prod`
FROM `cpt_produits`
WHERE `cpt_produits`.`id_assocpt` = ".$asso->id."
AND prod_archive =0");
AND prod_archive =0
ORDER BY `nom_prod`");
}
if (isset($_REQUEST["allprod"]) || ($req_produits->lines <= 0))
{
$allprod = true;
$req_produits = new requete($site->db, "SELECT `id_produit` , `nom_prod`
FROM `cpt_produits`");
FROM `cpt_produits`
ORDER BY `nom_prod`");
}
$produits = array(0=> "(aucun)");
......
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