diff --git a/inc/notificationtargetorder.class.php b/inc/notificationtargetorder.class.php index 3a3a1d44c5..b7c8af6ed5 100644 --- a/inc/notificationtargetorder.class.php +++ b/inc/notificationtargetorder.class.php @@ -69,7 +69,7 @@ public function addDataForTemplate($event, $options = []) { '##order.item.numorder##' => $order['num_order'], '##order.item.url##' => $this->formatURL( $options['additionnaloption']['usertype'], - $order->getType()."_".$id + PluginOrderOrder::class."_".$id ), '##order.item.orderdate##' => Html::convDate($order["order_date"]), '##order.item.duedate##' => Html::convDate($order["duedate"]),