From 62d3de3acdbd71bab4d1d83130ff5bc1dfefa8c0 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Wed, 26 Mar 2008 20:56:03 +0000 Subject: [PATCH] Bug : a not needed quote --- include/param_pcmn.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/param_pcmn.inc.php b/include/param_pcmn.inc.php index 119596a18..017d7f738 100644 --- a/include/param_pcmn.inc.php +++ b/include/param_pcmn.inc.php @@ -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 {