Fix: Some errors on generating delivery and sending receipts

This commit is contained in:
Laurent Destailleur
2008-07-11 06:46:55 +00:00
parent f92c05ec38
commit 22e20cea21
10 changed files with 1281 additions and 1271 deletions

View File

@@ -218,7 +218,7 @@ if ($modulepart)
{
$accessallowed=1;
}
$original_file=$conf->expedition->dir_output.'/'.$original_file;
$original_file=$conf->expedition_bon->dir_output.'/'.$original_file;
//$sqlprotectagainstexternals = "SELECT fk_soc as fk_soc FROM ".MAIN_DB_PREFIX."fichinter WHERE ref='$refname'";
}
@@ -230,7 +230,7 @@ if ($modulepart)
{
$accessallowed=1;
}
$original_file=$conf->livraison->dir_output.'/'.$original_file;
$original_file=$conf->livraison_bon->dir_output.'/'.$original_file;
//$sqlprotectagainstexternals = "SELECT fk_soc as fk_soc FROM ".MAIN_DB_PREFIX."fichinter WHERE ref='$refname'";
}