Commit ba12a986 authored by mbriand's avatar mbriand
Browse files

Gestion des écrans d'affichage : soumission et modération des affiches

parent 9a6b6444
......@@ -75,7 +75,7 @@ if ( ($_REQUEST["action"] == "delete") && $can_edit )
}
elseif ( ($_REQUEST["action"] == "save") && $can_edit )
{
if ( $_REQUEST["title"] && $_REQUEST["content"] )
if ( $_REQUEST["title"] && $_REQUEST['debut'] && $_REQUEST['fin'])
{
$affiche->save_affiche(
$_REQUEST['id_asso'],
......
......@@ -229,7 +229,7 @@ class affiche extends stdentity
"date_modifie" => date("Y-m-d H:i:s"),
"date_deb" => date("Y-m-d H:i:s", $date_deb),
"date_fin" => date("Y-m-d H:i:s", $date_fin),
"modere_aff" => $modere,
"modere_aff" => $modere,
"id_utilisateur_moderateur"=>$id_utilisateur_moderateur
),
array(
......
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