Update destination_imports.php

This commit is contained in:
FusionPBX 2019-04-17 23:26:09 -06:00 committed by GitHub
parent 8be6ce91ab
commit d38dc0c235
1 changed files with 45 additions and 43 deletions

View File

@ -168,8 +168,8 @@
$handle = @fopen($_SESSION['file'], "r");
if ($handle) {
//pre-set the numbers
$row_number = 1;
$row_id = 0;
$row_number = 1;
//loop through the array
while (($line = fgets($handle, 4096)) !== false) {
@ -415,6 +415,9 @@
$dialplan_detail_order = $dialplan_detail_order + 10;
}
//set the detail id back to 0
$y = 0;
} //end if
} //foreach
@ -435,10 +438,9 @@
$row_id = 0;
}
//increment row id
$row_id++;
}
$row_number++;
$row_id++;
}
fclose($handle);