correction bugs page newFiche
This commit is contained in:
@@ -175,12 +175,11 @@ class Class_newFiche
|
||||
{
|
||||
$req = 'UPDATE ligne_hors_forfait
|
||||
SET "lhRefus" = :stateF
|
||||
WHERE "rVisiteur" = :userId AND "rMois" = :monthF AND "lhId" = :idFrais;';
|
||||
WHERE "lhId" = :idFrais;';
|
||||
$result = $this->pdo->prepare($req);
|
||||
$state = ($state) ? 'false' : 'true';
|
||||
$result->bindParam(':stateF', $state);
|
||||
$result->bindParam(':idFrais', $idFrais);
|
||||
$result->bindParam(':userId', $this->userId);
|
||||
$result->bindParam(':monthF', $this->month);
|
||||
|
||||
return $result->execute();
|
||||
}
|
||||
|
Reference in New Issue
Block a user