Update call_center_queue_edit.php

This commit is contained in:
FusionPBX 2018-04-04 16:23:38 -06:00 committed by GitHub
parent 3f3634dfef
commit d56fb6f820
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 5 deletions

View File

@ -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'] = '';