diff --git a/html/ajax_ledger.php b/html/ajax_ledger.php index 0be5e785f..87235d9d1 100644 --- a/html/ajax_ledger.php +++ b/html/ajax_ledger.php @@ -367,7 +367,7 @@ case 'save': $cn->exec_sql("select comptaproc.jrn_add_note($1,$2)", array($jr_id,$_POST['jrn_note'])); $rapt=$_POST['rapt']; - if ( $g_parameter->MYUPDLAB=='Y') + if ( $g_parameter->MY_UPDLAB=='Y') { $a_rowid=$_POST["j_id"]; for ($e=0;$e