noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 03/08: Task #9 - Ajouter un événement à celu


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 03/08: Task #9 - Ajouter un événement à celui-ci Add an sub event : clean fields but keep the person
Date: Sat, 13 Feb 2016 01:42:02 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 78bfe63d7c9cde4046acffaf6d4423093833405c
Author: Dany De Bontridder <address@hidden>
Date:   Thu Feb 11 17:13:38 2016 +0100

    Task #9 - Ajouter un événement à celui-ci
    Add an sub event : clean fields but keep the person
---
 include/action.common.inc.php |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/include/action.common.inc.php b/include/action.common.inc.php
index e5406bc..501a289 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 '<div class="content">';
 
                // Add hidden tag



reply via email to

[Prev in Thread] Current Thread [Next in Thread]