Commit b764c66d authored by s7_spruge_k's avatar s7_spruge_k
Browse files

Merge branch 'edit-event-verifications' into 'master'

fixed redirection bug with calendar

See merge request s7_spruge_k/calendar!47
parents 281bd855 a858b910
......@@ -71,7 +71,7 @@ public class CalendarController {
//If user doesnt have calendar - redirected to create
try
{
calendarRepo.findByNameAndUser(currUser.getActiveCalendar(), currUser);
calendarRepo.findAllByUser(currUser).get(0);
}
catch(Exception e)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment