FIX : Bug: $this is not accessible in static context in
Mailing::libStatutDest #4050
This commit is contained in:
parent
7d7a978ba0
commit
955fad910d
@ -556,11 +556,11 @@ class Mailing extends CommonObject
|
|||||||
|
|
||||||
if ($mode == 0)
|
if ($mode == 0)
|
||||||
{
|
{
|
||||||
return $langs->trans($this->statut_dest[$statut]);
|
return $langs->trans('MailingStatusError');
|
||||||
}
|
}
|
||||||
if ($mode == 1)
|
if ($mode == 1)
|
||||||
{
|
{
|
||||||
return $langs->trans($this->statut_dest[$statut]);
|
return $langs->trans('MailingStatusSent');
|
||||||
}
|
}
|
||||||
if ($mode == 2)
|
if ($mode == 2)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user