diff --git a/Vues/accueil.php b/Vues/accueil.php
index d82033d..fa3bccd 100644
--- a/Vues/accueil.php
+++ b/Vues/accueil.php
@@ -82,9 +82,9 @@
?>
getName(); ?>
-
diff --git a/config/config.php b/config/config.php
index d0d4dcf..af90257 100644
--- a/config/config.php
+++ b/config/config.php
@@ -18,8 +18,9 @@ $vues['addTask'] = 'Vues/addTask.php';
$vues['accueil'] = 'Vues/accueil.php';
$vues['accueilPrivate'] = 'Vues/accueilPrivate.php';
$vues['signIn'] = 'Vues/signIn.php';
+$vues['seeList'] = 'Vues/seeList.php';
+
$vues['signUp'] = 'Vues/signUp.php';
-$vues['accueilPrivate'] = 'Vues/accueilPrive.php';
$vues['connexion'] = 'Vues/connexion.php';
?>
\ No newline at end of file
diff --git a/controllers/UserController.php b/controllers/UserController.php
index 264f80c..7a3adf3 100644
--- a/controllers/UserController.php
+++ b/controllers/UserController.php
@@ -23,11 +23,11 @@ class UserController {
break;
case "ajouterListePrivee":
- $this->AddListPrivate();
+ $this->AddListPrivate($dVueEreur);
break;
case "viewPrivateList":
- $this->PrivateList();
+ $this->PrivateList($dVueEreur);
break;
default:
diff --git a/controllers/VisitorController.php b/controllers/VisitorController.php
index e5bf91b..ee886da 100644
--- a/controllers/VisitorController.php
+++ b/controllers/VisitorController.php
@@ -35,6 +35,9 @@ class VisitorController {
case "supprimerListe":
$this->DelList();
break;
+ case "accessListInfos":
+ $this->accessListInfos();
+ break;
case "modifierListe":
$this->UpdateList();
diff --git a/gateway/ListeGateway.php b/gateway/ListeGateway.php
index 79a7c00..e76e989 100644
--- a/gateway/ListeGateway.php
+++ b/gateway/ListeGateway.php
@@ -73,7 +73,7 @@ class ListeGateway
$taches = array();
try {
- $query = "SELECT * FROM Liste WHERE idCreator IS NULL";
+ $query = "SELECT * FROM Liste WHERE private='0'";
$this->con->executeQuery($query, []);
diff --git a/modeles/MdlListe.php b/modeles/MdlListe.php
index ae1dffd..2017c6b 100644
--- a/modeles/MdlListe.php
+++ b/modeles/MdlListe.php
@@ -58,7 +58,7 @@ class MdlListe{
public function findByUser(string $username): array{
$gate=new ListeGateway($this->con);
$gateTache=new TacheGateway($this->con);
- $gateUser=new TacheGateway($this->con);
+ $gateUser=new UserGateway($this->con);
$id=$gateUser->findByName($username);
$id=$id['id'];