Task #9 - Ajouter un événement à celui-ci
Add an sub event : clean fields but keep the person
This commit is contained in:
parent
49fe36be24
commit
78bfe63d7c
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue