diff --git a/html/modify_op.php b/html/modify_op.php index b50457f28..7774d172f 100644 --- a/html/modify_op.php +++ b/html/modify_op.php @@ -266,16 +266,16 @@ if ( isset($_POST['update_record']) ) { foreach( $array_jid as $row_ca) { echo_debug(__FILE__.':'.__LINE__,"array is ",$row_ca); if ( ereg("^[6,7]+",$row_ca['j_poste'])) { - echo_debug(__FILE__.':'.__LINE__,"count is ",$count); - $op=new operation($cn); - $op->delete_by_jid($row_ca['j_id']); - $op->j_id=$row_ca['j_id']; - $op->oa_debit=$row_ca['j_debit']; - $op->oa_date=$row_ca['j_date']; - $op->oa_group=$group; - $op->oa_description=$_POST['comment']; - $op->save_form_plan($_POST,$count); - $count++; + echo_debug(__FILE__.':'.__LINE__,"count is ",$count); + $op=new operation($cn); + $op->delete_by_jid($row_ca['j_id']); + $op->j_id=$row_ca['j_id']; + $op->oa_debit=$row_ca['j_debit']; + $op->oa_date=$row_ca['j_date']; + $op->oa_group=$group; + $op->oa_description=$_POST['comment']; + $op->save_form_plan($_POST,$count); + $count++; } //if ereg }//foreach }// if ( $own->MY_ANALYTIC != "un" ) diff --git a/include/jrn.php b/include/jrn.php index 3ae409265..818f72683 100644 --- a/include/jrn.php +++ b/include/jrn.php @@ -59,7 +59,7 @@ function ShowOperationExpert($p_cn,$p_jr_id,$p_mode=1) $col_vide="