From d56fb6f82059719a8537ceabcafbabd34ea5bb7b Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Wed, 4 Apr 2018 16:23:38 -0600 Subject: [PATCH] Update call_center_queue_edit.php --- app/call_centers/call_center_queue_edit.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/call_centers/call_center_queue_edit.php b/app/call_centers/call_center_queue_edit.php index db925911b7..5c4efbb568 100644 --- a/app/call_centers/call_center_queue_edit.php +++ b/app/call_centers/call_center_queue_edit.php @@ -398,7 +398,6 @@ $tiers = $prep_statement->fetchAll(PDO::FETCH_NAMED); //add an empty row to the tiers array - if (count($tiers) == 0) { $rows = $_SESSION['call_center']['agent_add_rows']['numeric']; $id = 0; @@ -407,8 +406,6 @@ $rows = $_SESSION['call_center']['agent_edit_rows']['numeric']; $id = count($tiers)+1; } - $rows = 1; - $id = count($tiers) + 1; for ($x = 0; $x < $rows; $x++) { $tiers[$id]['call_center_tier_uuid'] = uuid(); $tiers[$id]['call_center_agent_uuid'] = ''; @@ -899,8 +896,8 @@ echo "\n"; echo "\n"; - echo "\n"; - echo " ".$text['label-exit_keys']."\n"; + echo "\n"; + echo " ".$text['label-exit_keys']."\n"; echo "\n"; echo "\n"; echo " \n";