diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php
index 87a9e38450c51..d715c88626e96 100644
--- a/htdocs/comm/action/class/actioncomm.class.php
+++ b/htdocs/comm/action/class/actioncomm.class.php
@@ -1328,7 +1328,7 @@ public function getActions($socid = 0, $fk_element = 0, $elementtype = '', $filt
$resarray = array();
- dol_syslog(get_class()."::getActions", LOG_DEBUG);
+ dol_syslog(get_class($this)."::getActions", LOG_DEBUG);
// Initialize a technical object to manage hooks of page. Note that conf->hooks_modules contains an array of hook context
if (!is_object($hookmanager)) {
diff --git a/htdocs/fourn/commande/card.php b/htdocs/fourn/commande/card.php
index 7073aebc776a7..376ca90db2b2e 100644
--- a/htdocs/fourn/commande/card.php
+++ b/htdocs/fourn/commande/card.php
@@ -2107,6 +2107,7 @@
if (isModEnabled('notification')) {
require_once DOL_DOCUMENT_ROOT.'/core/class/notify.class.php';
$notify = new Notify($db);
+ $text = '';
$text .= '
';
$text .= $notify->confirmMessage('ORDER_SUPPLIER_CANCEL', $object->socid, $object);
}
@@ -2119,6 +2120,7 @@
if (isModEnabled('notification')) {
require_once DOL_DOCUMENT_ROOT.'/core/class/notify.class.php';
$notify = new Notify($db);
+ $text = '';
$text .= '
';
$text .= $notify->confirmMessage('ORDER_SUPPLIER_SUBMIT', $object->socid, $object);
}