From b0994cbeab342a510cb2af0c26f186d7f14fa19a Mon Sep 17 00:00:00 2001 From: Anna BOUDOUL Date: Fri, 23 Dec 2022 18:55:36 +0100 Subject: [PATCH] minor changes --- controller/VisitorCtrl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/VisitorCtrl.php b/controller/VisitorCtrl.php index febcfb5..13785da 100644 --- a/controller/VisitorCtrl.php +++ b/controller/VisitorCtrl.php @@ -174,7 +174,7 @@ class VisitorCtrl function isDone(){ $this->taskModel->modifTask($_POST['idT'],'isDone',true); - if($_POST['isPriv']) + if(isset($_POST['isPriv']) && $_POST['isPriv']) header("Location:index.php?action=voirListePriv"); else $this->loadHome();