Update destination_imports.php
This commit is contained in:
parent
8be6ce91ab
commit
d38dc0c235
|
|
@ -168,8 +168,8 @@
|
||||||
$handle = @fopen($_SESSION['file'], "r");
|
$handle = @fopen($_SESSION['file'], "r");
|
||||||
if ($handle) {
|
if ($handle) {
|
||||||
//pre-set the numbers
|
//pre-set the numbers
|
||||||
$row_number = 1;
|
|
||||||
$row_id = 0;
|
$row_id = 0;
|
||||||
|
$row_number = 1;
|
||||||
|
|
||||||
//loop through the array
|
//loop through the array
|
||||||
while (($line = fgets($handle, 4096)) !== false) {
|
while (($line = fgets($handle, 4096)) !== false) {
|
||||||
|
|
@ -415,6 +415,9 @@
|
||||||
$dialplan_detail_order = $dialplan_detail_order + 10;
|
$dialplan_detail_order = $dialplan_detail_order + 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//set the detail id back to 0
|
||||||
|
$y = 0;
|
||||||
|
|
||||||
} //end if
|
} //end if
|
||||||
} //foreach
|
} //foreach
|
||||||
|
|
||||||
|
|
@ -435,10 +438,9 @@
|
||||||
$row_id = 0;
|
$row_id = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//increment row id
|
|
||||||
$row_id++;
|
|
||||||
}
|
}
|
||||||
$row_number++;
|
$row_number++;
|
||||||
|
$row_id++;
|
||||||
}
|
}
|
||||||
fclose($handle);
|
fclose($handle);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue