From 32043c5f8ced6419125a9b44ad28b3e53141a02e Mon Sep 17 00:00:00 2001 From: "anthony.richard" Date: Mon, 20 Nov 2023 19:55:16 +0100 Subject: [PATCH] little fix --- Project/php/controller/UserController.php | 2 +- Project/php/navBar.html | 43 ----------------------- 2 files changed, 1 insertion(+), 44 deletions(-) delete mode 100755 Project/php/navBar.html diff --git a/Project/php/controller/UserController.php b/Project/php/controller/UserController.php index 4cc6da4..ac839de 100755 --- a/Project/php/controller/UserController.php +++ b/Project/php/controller/UserController.php @@ -43,7 +43,7 @@ class UserController extends VisitorController try { global $user; $newNickname = Validation::filter_str_nospecialchar($_POST['newNickname'] ?? null); - $mdl = new MdlStudent(); + $mdl = new MdlUser(); $mdl->modifyNickname($user->getId(), $newNickname); $this->showAccountInfos(); } diff --git a/Project/php/navBar.html b/Project/php/navBar.html deleted file mode 100755 index de32be1..0000000 --- a/Project/php/navBar.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - - - In English Please ! - - - - - - - - - - - - - - - -