bug #4332 bug in the name
This commit is contained in:
parent
2993c11f13
commit
2ab79279fd
2 changed files with 4 additions and 3 deletions
|
|
@ -78,6 +78,6 @@ function MakeListingVat($p_cn,$p_array,$p_year) {
|
|||
$a.="BE";
|
||||
$a.=$my->MY_TVA;
|
||||
$a.=str_repeat(" ",28);
|
||||
$a.="\n";
|
||||
$a.="\r\n";
|
||||
return $a;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -307,7 +307,8 @@ function AddForm($p_cn,$p_array) {
|
|||
echo_error("Nom ou ligne non défini");
|
||||
return;
|
||||
}
|
||||
$sql="insert into formdef (fr_label) values ('".FormatString($form_nom)."')";
|
||||
$form_nom=(FormatString($form_nom)==null)?"NoName":FormatString($form_nom);
|
||||
$sql="insert into formdef (fr_label) values ('".$form_nom."')";
|
||||
$Res=ExecSql($p_cn,$sql);
|
||||
$n=GetSequence($p_cn,"s_formdef");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue