From e562bec77fbff75fb178e673a3b995f9cb983041 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 20 Mar 2018 17:26:23 +0100 Subject: [PATCH] [repo.professor] fixed 'CurrentDepartementId' to 'CurrentDepartmentId' --- build/database/repo/professor.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/database/repo/professor.php b/build/database/repo/professor.php index 7bea981..2d1c340 100644 --- a/build/database/repo/professor.php +++ b/build/database/repo/professor.php @@ -97,7 +97,7 @@ class professor extends Repo_i { /* (3) Try to execute */ $success = $st->execute([ - ':idDep' => $_SESSION['CurrentDepartementId'], + ':idDep' => $_SESSION['CurrentDepartmentId'], ':casLogin' => $casLogin ]); @@ -584,7 +584,7 @@ class professor extends Repo_i { /* (3) Try to execute */ $success = $st->execute([ ':casLogin' => $prof[0]['casLogin'], - ':idDep' => $_SESSION['CurrentDepartementId'] + ':idDep' => $_SESSION['CurrentDepartmentId'] ]); /* (4) Manage execution error */