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 63703be..77a2be3 100644
--- a/src/Services/EventService.cpp
+++ b/src/Services/EventService.cpp
@@ -138,7 +138,7 @@ StatusCode EventService::buyTicket(const char* name, const Date& date, const Tic
String EventService::createSeatingString(const char*name, const Date& date) {
unsigned eInd = indexOfEvent(name, date);
if (eInd == events.get_count())
- return E_EventDoesNotExist;
+ return "";
unsigned strSize = events[eInd].get_hall().get_rows() * events[eInd].get_hall().get_seatsPerRow();
String out;