Commit 0916ee5f authored by Jean-Paul Saman's avatar Jean-Paul Saman

do_invoice_aed.php: use preq_split() iso deprecated spit()

parent ac32d980
...@@ -28,7 +28,7 @@ if ($del) { ...@@ -28,7 +28,7 @@ if ($del) {
} else { } else {
$isNotNew = ($obj->task_invoice != 0); $isNotNew = ($obj->task_invoice != 0);
while(list($key,$value)=each($_POST)) { while(list($key,$value)=each($_POST)) {
$tmparr=split("_",$key); $tmparr=preg_split("/_/",$key);
if ($tmparr[0] == "num") { if ($tmparr[0] == "num") {
$obj->task_invoice=$_POST["task_invoice"]; $obj->task_invoice=$_POST["task_invoice"];
$obj->task_log_id=$tmparr[1]; $obj->task_log_id=$tmparr[1];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment