diff --git a/htdocs/core/class/notify.class.php b/htdocs/core/class/notify.class.php
index 5e12a30ba0e..dbda9947ae0 100644
--- a/htdocs/core/class/notify.class.php
+++ b/htdocs/core/class/notify.class.php
@@ -523,7 +523,7 @@ class Notify
break;
case 'ORDER_SUPPLIER_VALIDATE':
$link = ''.$newref.'';
- $dir_output = $conf->fournisseur->commande->dir_output;
+ $dir_output = $conf->fournisseur->commande->multidir_output[$object->entity]."/".get_exdir(0, 0, 0, 1, $object);
$object_type = 'order_supplier';
$mesg = $outputlangs->transnoentitiesnoconv("Hello").",\n\n";
$mesg .= $outputlangs->transnoentitiesnoconv("EMailTextOrderValidatedBy", $link, $user->getFullName($outputlangs));
@@ -531,7 +531,7 @@ class Notify
break;
case 'ORDER_SUPPLIER_APPROVE':
$link = ''.$newref.'';
- $dir_output = $conf->fournisseur->commande->dir_output;
+ $dir_output = $conf->fournisseur->commande->multidir_output[$object->entity]."/".get_exdir(0, 0, 0, 1, $object);
$object_type = 'order_supplier';
$mesg = $outputlangs->transnoentitiesnoconv("Hello").",\n\n";
$mesg .= $outputlangs->transnoentitiesnoconv("EMailTextOrderApprovedBy", $link, $user->getFullName($outputlangs));
@@ -539,7 +539,7 @@ class Notify
break;
case 'ORDER_SUPPLIER_REFUSE':
$link = ''.$newref.'';
- $dir_output = $conf->fournisseur->commande->dir_output;
+ $dir_output = $conf->fournisseur->commande->multidir_output[$object->entity]."/".get_exdir(0, 0, 0, 1, $object);
$object_type = 'order_supplier';
$mesg = $outputlangs->transnoentitiesnoconv("Hello").",\n\n";
$mesg .= $outputlangs->transnoentitiesnoconv("EMailTextOrderRefusedBy", $link, $user->getFullName($outputlangs));
@@ -763,7 +763,7 @@ class Notify
break;
case 'ORDER_SUPPLIER_VALIDATE':
$link = ''.$newref.'';
- $dir_output = $conf->fournisseur->commande->dir_output;
+ $dir_output = $conf->fournisseur->commande->multidir_output[$object->entity]."/".get_exdir(0, 0, 0, 1, $object);
$object_type = 'order_supplier';
$mesg = $langs->transnoentitiesnoconv("Hello").",\n\n";
$mesg .= $langs->transnoentitiesnoconv("EMailTextOrderValidatedBy", $link, $user->getFullName($langs));
@@ -771,7 +771,7 @@ class Notify
break;
case 'ORDER_SUPPLIER_APPROVE':
$link = ''.$newref.'';
- $dir_output = $conf->fournisseur->commande->dir_output;
+ $dir_output = $conf->fournisseur->commande->multidir_output[$object->entity]."/".get_exdir(0, 0, 0, 1, $object);
$object_type = 'order_supplier';
$mesg = $langs->transnoentitiesnoconv("Hello").",\n\n";
$mesg .= $langs->transnoentitiesnoconv("EMailTextOrderApprovedBy", $link, $user->getFullName($langs));
@@ -779,7 +779,7 @@ class Notify
break;
case 'ORDER_SUPPLIER_APPROVE2':
$link = ''.$newref.'';
- $dir_output = $conf->fournisseur->commande->dir_output;
+ $dir_output = $conf->fournisseur->commande->multidir_output[$object->entity]."/".get_exdir(0, 0, 0, 1, $object);
$object_type = 'order_supplier';
$mesg = $langs->transnoentitiesnoconv("Hello").",\n\n";
$mesg .= $langs->transnoentitiesnoconv("EMailTextOrderApprovedBy", $link, $user->getFullName($langs));