|
@@ -27,8 +27,9 @@ |
|
|
block discarded – undo |
|
27
|
27
|
$target_controller = $this->get('Controllers\\'.$router->targetController()); |
|
28
|
28
|
|
|
29
|
29
|
if ($target_controller->requiresOperator()) { |
|
30
|
|
- if(is_null($operator_id = $this->get('HexMakina\BlackBox\StateAgentInterface')->operatorId())) |
|
31
|
|
- $this->checkin(); |
|
|
30
|
+ if(is_null($operator_id = $this->get('HexMakina\BlackBox\StateAgentInterface')->operatorId())) { |
|
|
31
|
+ $this->checkin(); |
|
|
32
|
+ } |
|
32
|
33
|
|
|
33
|
34
|
if(is_null($operator = get_class($operator)::exists($operator_id)) || !$operator->isActive()){ |
|
34
|
35
|
$this->checkout(); |
Please login to merge, or discard this patch.