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);