From 9e804ba91a97bf4ef57939b4cdf4d7590ebd1c15 Mon Sep 17 00:00:00 2001 From: msquare Date: Fri, 23 Dec 2016 12:46:32 +0100 Subject: [PATCH] fix that free shifts become green --- includes/model/ShiftSignupState.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/model/ShiftSignupState.php b/includes/model/ShiftSignupState.php index f9226375..79d348b6 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::OCCUPIED: + case ShiftSignupState::FREE: $this->state = $shiftSignupState->getState(); } }