Skip to content

Commit

Permalink
Hotfix - DB error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie P Holcomb committed Jul 31, 2023
1 parent 54a6767 commit baf035b
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 baf035b

Please sign in to comment.