Skip to content

Commit

Permalink
Merge branch 'Hotfix--DB-error' into feature/Leaf-3841/Duplicate_Work…
Browse files Browse the repository at this point in the history
…flow
  • Loading branch information
Jamie P Holcomb committed Aug 2, 2023
2 parents 3d4daae + baf035b commit c03026e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LEAF_Request_Portal/sources/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ public function addMember(string $member, int $groupID): array
}
$sql = 'INSERT INTO `users` (`userID`, `groupID`, `backupID`)
VALUES (:userID, :groupID, :backupID)
ON DUPLICATE KEY UPDATE `userID = :userID, `groupID` = :groupID,
ON DUPLICATE KEY UPDATE `userID` = :userID, `groupID` = :groupID,
`backupID` = :backupID';

$return_value = $this->db->pdo_insert_query($sql, $vars);
Expand Down

0 comments on commit c03026e

Please sign in to comment.