From a131978b9741fd7db1a2ccae4073d6765cd7bc4d Mon Sep 17 00:00:00 2001 From: xtophe38 <13520055+xtophe38@users.noreply.github.com> Date: Thu, 29 Apr 2021 10:18:54 +0200 Subject: [PATCH] Corrects coding std --- assign-to-me.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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; }