Bug : a not needed quote

This commit is contained in:
Dany De Bontridder 2008-03-26 20:56:03 +00:00
parent 84794582b7
commit 62d3de3acd

View file

@ -124,7 +124,7 @@ if ( isset ( $_POST["Ajout"] ) ) {
} else
{
$Ret=ExecSqlParam($cn,"insert into tmp_pcmn (pcm_val,pcm_lib,pcm_val_parent,pcm_type) values ($1,$2,$3,$4)",array($p_val,$p_lib,$p_parent,$p_type)");
$Ret=ExecSql($cn,"insert into tmp_pcmn (pcm_val,pcm_lib,pcm_val_parent,pcm_type) values ('$p_val','$p_lib',$p_parent,'$p_type'));
}
}
} else {