modification complète d'un pompier

This commit is contained in:
pierre renaudot
2023-10-19 09:07:06 +02:00
parent 5fdb28c44e
commit aa0701334e
7 changed files with 394 additions and 245 deletions

View File

@@ -102,7 +102,7 @@ class PdoBD
INNER JOIN caserne ON pompier.pCis = caserne.cId
INNER JOIN parametre AS a ON a.pType = 'typePer' AND pompier.pType = a.pIndice
INNER JOIN parametre AS b ON b.pType = 'grade' AND pompier.pGrade = b.pIndice
INNER JOIN parametre AS c ON c.pType = 'statAgt' AND pompier.pStatut = c.pIndice;";
INNER JOIN parametre AS c ON c.pType = 'statAgt' AND pompier.pStatut = c.pIndice";
if ($login === "*") {
$req .= " WHERE pCis=" . $_SESSION['cis'] . " AND pId = $mdp";
} else {