Gestion des virgules

This commit is contained in:
Rodolphe Quiedeville 2005-09-06 15:35:13 +00:00
parent 90bf6b819a
commit 535947092c

View File

@ -109,8 +109,8 @@ class TelephonieTarifGrille {
$sql .= "(fk_tarif_desc, fk_user, fk_tarif, temporel,fixe)";
$sql .= " VALUES (".$grille_id.",".$user->id;
$sql .= " ,".$tarif_id;
$sql .= " ,".$temporel;
$sql .= " ,".$fixe.")";
$sql .= " ,".ereg_replace(",",".",$temporel);
$sql .= " ,".ereg_replace(",",".",$fixe).");";
if ( $this->db->query($sql) )
{
@ -126,8 +126,8 @@ class TelephonieTarifGrille {
$sql .= " VALUES (".$grille_id.",".$user->id;
$sql .= " ,".$tarif_id;
$sql .= " ,".$temporel;
$sql .= " ,".$fixe.")";
$sql .= " ,".ereg_replace(",",".",$temporel);
$sql .= " ,".ereg_replace(",",".",$fixe).");";
if ( $this->db->query($sql) )
{