diff --git a/Vues/modifyTask.php b/Vues/modifyTask.php index 81c3ce5..320335e 100644 --- a/Vues/modifyTask.php +++ b/Vues/modifyTask.php @@ -50,6 +50,7 @@ + diff --git a/controllers/VisitorController.php b/controllers/VisitorController.php index e74ea15..6658975 100644 --- a/controllers/VisitorController.php +++ b/controllers/VisitorController.php @@ -243,10 +243,16 @@ class VisitorController { $completed=true; } $model = new MdlTache(); + $tache=$model->findById($_POST['task']); $model->update($tache, $name, $content, $completed); $_REQUEST['action']="goHome"; $this->Reinit(); +/* + $model->update($tache, $name, $content, $completed); + $_REQUEST['action']="accessListInfos"; + $this->accessListInfos($dVueEreur); + */ $dVueEreur= array(); } }