diff --git a/include/tva.inc.php b/include/tva.inc.php index 432216642..1139f9b72 100644 --- a/include/tva.inc.php +++ b/include/tva.inc.php @@ -38,6 +38,8 @@ $tva_rate=FormatString($tva_rate); $tva_comment=FormatString($tva_comment); $tva_poste=FormatString($tva_poste); + // remove space + $tva_poste=str_replace (" ","",$tva_poste); $err=0; // Error code if ( isNumber($tva_id) == 0 ) { $err=1; @@ -255,4 +257,4 @@ if ( ! isset ($_POST['add']) \ No newline at end of file +?>