[Bug Fix] Fix issue with Client::SaveDisciplines() not specifying character ID (#4481)

This commit is contained in:
Alex King
2024-09-24 00:00:52 -04:00
committed by GitHub
parent 6130e10831
commit 5c0bdfdc4c
4 changed files with 10 additions and 3 deletions
+2 -1
View File
@@ -11117,7 +11117,8 @@ void Client::SaveDisciplines()
CharacterDisciplinesRepository::DeleteWhere(
database,
fmt::format(
"`slot_id` IN ({})",
"`id` = {} AND `slot_id` IN ({})",
CharacterID(),
Strings::Join(delete_slots, ", ")
)
);