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 @@ - - -
- - - - -