Skip to content

Commit

Permalink
FIX #16296
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Mar 2, 2021
1 parent cffea18 commit 23e8401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/fourn/class/fournisseur.facture.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,7 @@ public function delete(User $user, $notrigger = 0)
include_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';

$ref = dol_sanitizeFileName($this->ref);
$dir = $conf->fournisseur->facture->dir_output.'/'.get_exdir($this->id, 2, 0, 0, $this, 'invoive_supplier').$ref;
$dir = $conf->fournisseur->facture->dir_output.'/'.get_exdir($this->id, 2, 0, 0, $this, 'invoice_supplier').$ref;
$file = $dir."/".$ref.".pdf";
if (file_exists($file))
{
Expand Down

0 comments on commit 23e8401

Please sign in to comment.