[repo.professor] fixed 'CurrentDepartementId' to 'CurrentDepartmentId'
This commit is contained in:
parent
ad67e62680
commit
e562bec77f
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue