Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Services / EventService.cpp
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--src/Services/EventService.cpp2
diff --git a/src/Services/EventService.cpp b/src/Services/EventService.cpp
index a1ba34e..56f513e 100644
--- a/src/Services/EventService.cpp
+++ b/src/Services/EventService.cpp
@@ -41,7 +41,7 @@ StatusCode EventService::createEvent(int hallNumber, const String& name, const D
if (hInd == hs->get_halls().get_count())
return E_HallDoesntExist;
- Event newEv(hallNumber, name, date);
+ Event newEv(hs->get_halls()[hInd], name, date);
unsigned eInd = events.findIndex(newEv);
if (eInd < events.get_count())