Task #9 - Ajouter un événement à celui-ci

Add an sub event : clean fields but keep the person
This commit is contained in:
Dany De Bontridder 2016-02-11 17:13:38 +01:00
parent 49fe36be24
commit 78bfe63d7c

View file

@ -162,11 +162,13 @@ if ($sub_action == "update")
//----------------------------------------
// puis comme ajout normal (copier / coller )
$act->fromArray($_POST);
$act->ag_id = 0;
$act->d_id = 0;
$act->action = $_POST['ag_id'];
$act->ag_timestamp=date('d.m.Y');
$act->ag_hour="";
$act->ag_title="";
$act->ag_remind_date="";
echo '<div class="content">';
// Add hidden tag