diff --git a/htdocs/core/boxes/box_supplier_orders_awaiting_reception.php b/htdocs/core/boxes/box_supplier_orders_awaiting_reception.php index faf81a230a0..326a9297ce8 100644 --- a/htdocs/core/boxes/box_supplier_orders_awaiting_reception.php +++ b/htdocs/core/boxes/box_supplier_orders_awaiting_reception.php @@ -70,7 +70,7 @@ class box_supplier_orders_awaiting_reception extends ModeleBoxes public function loadBox($max = 5) { global $conf, $user, $langs; - $langs->loadLangs(array("boxes", "sendings")); + $langs->loadLangs(array("boxes", "sendings", "orders")); $this->max = $max; diff --git a/htdocs/core/class/notify.class.php b/htdocs/core/class/notify.class.php index 27d087b2fde..104247bf1c5 100644 --- a/htdocs/core/class/notify.class.php +++ b/htdocs/core/class/notify.class.php @@ -541,7 +541,12 @@ class Notify '', '', 0, - -1 + -1, + '', + '', + '', + '', + 'notification' ); if ($mailfile->sendfile()) @@ -769,7 +774,12 @@ class Notify '', '', 0, - 1 + 1, + '', + '', + '', + '', + 'notification' ); if ($mailfile->sendfile())