diff --git a/assign-to-me.php b/assign-to-me.php index 2c34812..e95ee24 100644 --- a/assign-to-me.php +++ b/assign-to-me.php @@ -70,11 +70,9 @@ $aExpectedAttributes = $oTicket->GetTransitionAttributes($sStimulus /*, current state*/); $bAttributesToBeSetForTransition = false; foreach($aExpectedAttributes as $sAttCode => $iFlag) { - if (($sAttCode != 'team_id') && ($sAttCode != 'agent_id')) - { + if (($sAttCode != 'team_id') && ($sAttCode != 'agent_id')) { // Attributes team_id and agent_id should not be part of that check - if (($iFlag & (OPT_ATT_MUSTCHANGE | OPT_ATT_MUSTPROMPT)) || (($iFlag & OPT_ATT_MANDATORY) && ($oTicket->Get($sAttCode) == ''))) - { + if (($iFlag & (OPT_ATT_MUSTCHANGE | OPT_ATT_MUSTPROMPT)) || (($iFlag & OPT_ATT_MANDATORY) && ($oTicket->Get($sAttCode) == ''))) { $bAttributesToBeSetForTransition = true; break; }