Commit f39a4286 authored by mbriand's avatar mbriand
Browse files

Gestion des écrans d'affichage : génèrer le pdf

parent 64c09bfd
......@@ -285,7 +285,9 @@ class affiche extends stdentity
*/
function gen_pdf(){
$req = new requete($this->db, "SELECT id_file FROM `aff_affiches`
WHERE date_deb < NOW() AND date_fin < NOW()");
WHERE date_deb < NOW()
AND date_fin > NOW()
AND modere_aff == '1'");
$file = new dfile($this->db, $this->dbrw);
......
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