From baf035b6e6c50435223e9c65d0668355f19ad545 Mon Sep 17 00:00:00 2001 From: Jamie P Holcomb Date: Mon, 31 Jul 2023 14:20:40 -0400 Subject: [PATCH] Hotfix - DB error --- LEAF_Request_Portal/sources/Group.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LEAF_Request_Portal/sources/Group.php b/LEAF_Request_Portal/sources/Group.php index 930d2f38f..b1b806387 100644 --- a/LEAF_Request_Portal/sources/Group.php +++ b/LEAF_Request_Portal/sources/Group.php @@ -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);