[repo.professor] remove PDO exception mode
This commit is contained in:
parent
8bb07d4a33
commit
99351cb8ab
|
@ -249,7 +249,6 @@ class professor extends Repo_i {
|
||||||
$parm = is_null($prof_id) ? [] : [':id' => $prof_id];
|
$parm = is_null($prof_id) ? [] : [':id' => $prof_id];
|
||||||
|
|
||||||
/* (2) Prepare Statement */
|
/* (2) Prepare Statement */
|
||||||
$this->pdo->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION);
|
|
||||||
$st = $this->pdo->prepare("SELECT
|
$st = $this->pdo->prepare("SELECT
|
||||||
Prof.idProfesseur, Prof.firstName, Prof.lastName, Prof.casLogin, Prof.abreviation, Prof.admin, Prof.hoursToDo,
|
Prof.idProfesseur, Prof.firstName, Prof.lastName, Prof.casLogin, Prof.abreviation, Prof.admin, Prof.hoursToDo,
|
||||||
VHCours, VHTd, VHTp,
|
VHCours, VHTd, VHTp,
|
||||||
|
|
Loading…
Reference in New Issue