From 78bfe63d7c9cde4046acffaf6d4423093833405c Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Thu, 11 Feb 2016 17:13:38 +0100 Subject: [PATCH] =?UTF-8?q?Task=20#9=20-=20Ajouter=20un=20=C3=A9v=C3=A9nem?= =?UTF-8?q?ent=20=C3=A0=20celui-ci=20Add=20an=20sub=20event=20:=20clean=20?= =?UTF-8?q?fields=20but=20keep=20the=20person?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/action.common.inc.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/action.common.inc.php b/include/action.common.inc.php index e5406bc36..501a28992 100644 --- a/include/action.common.inc.php +++ b/include/action.common.inc.php @@ -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 '
'; // Add hidden tag