Fix: Regression sur envoi mail suite test
This commit is contained in:
parent
654a897d58
commit
8fb8f068bd
@ -488,7 +488,7 @@ if ($_POST['action'] == 'send' || $_POST['action'] == 'relance')
|
|||||||
$facref = sanitize_string($fac->ref);
|
$facref = sanitize_string($fac->ref);
|
||||||
$file = $conf->facture->dir_output . '/' . $facref . '/' . $facref . '.pdf';
|
$file = $conf->facture->dir_output . '/' . $facref . '/' . $facref . '.pdf';
|
||||||
|
|
||||||
if (! is_readable($file))
|
if (is_readable($file))
|
||||||
{
|
{
|
||||||
$soc = new Societe($db, $fac->socidp);
|
$soc = new Societe($db, $fac->socidp);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user