Website Summary Files Commits Branches @commit @diff @stats
path: root / src / VenueConsoleUI.cpp
diff options
context:
space:
mode:
1 files changed, 1 insertions, 1 deletions
-rw-r--r--src/VenueConsoleUI.cpp2
diff --git a/src/VenueConsoleUI.cpp b/src/VenueConsoleUI.cpp
index af02425..94615c3 100644
--- a/src/VenueConsoleUI.cpp
+++ b/src/VenueConsoleUI.cpp
@@ -130,7 +130,7 @@ void command_createEvent() {
Date date;
inputBox("Enter event date: ", &date);
- handleStatusCode(v->get_es().createEvent(&v->get_halls()[hallIndex], name, date), eventManagementMenu);
+ handleStatusCode(v->get_es().createEvent(&v->getHall(hallIndex), name, date), eventManagementMenu);
}
void command_cancelEvent() {