[repo.professor] fixed 'CurrentDepartementId' to 'CurrentDepartmentId'

This commit is contained in:
xdrm-brackets 2018-03-20 17:26:23 +01:00
parent ad67e62680
commit e562bec77f
1 changed files with 2 additions and 2 deletions

View File

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