From b8c26b0fd0d14deb4bb89ad81d645baf9d9614a5 Mon Sep 17 00:00:00 2001 From: msquare Date: Fri, 23 Dec 2016 12:48:34 +0100 Subject: fix that free shifts become green --- includes/model/ShiftSignupState.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/model/ShiftSignupState.php') diff --git a/includes/model/ShiftSignupState.php b/includes/model/ShiftSignupState.php index 79d348b6..f9226375 100644 --- a/includes/model/ShiftSignupState.php +++ b/includes/model/ShiftSignupState.php @@ -63,7 +63,7 @@ class ShiftSignupState { switch ($this->state) { case ShiftSignupState::ANGELTYPE: - case ShiftSignupState::FREE: + case ShiftSignupState::OCCUPIED: $this->state = $shiftSignupState->getState(); } } -- cgit v1.2.3-54-g00ecf