From 4f7ef62237c7c6b6827259b9ae9d89125fb7a7a7 Mon Sep 17 00:00:00 2001 From: Thomas Chazot Date: Fri, 23 Dec 2022 18:28:12 +0100 Subject: [PATCH] 'fz^kpf --- Vues/modifyTask.php | 1 + controllers/VisitorController.php | 6 ++++++ 2 files changed, 7 insertions(+) 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(); } }