N°5414 Fix undefined constant error in notification with wrong placeholder

Fix regression introduced in 33c2168 (#282)
This commit is contained in:
Pierre Goiffon
2022-08-29 12:31:45 +02:00
parent d78a25ee4e
commit 02a0969b53

View File

@@ -7379,7 +7379,7 @@ abstract class MetaModel
}
IssueLog::Debug(
'Invalid placeholder in notification, no replacement will occur!',
LogChannels::NOTIFICATION,
LogChannels::NOTIFICATIONS,
$aContext
);
}
@@ -7404,7 +7404,7 @@ abstract class MetaModel
catch (Exception $e) {
IssueLog::Debug(
'Invalid placeholder in notification, no replacement will occur !',
LogChannels::NOTIFICATION,
LogChannels::NOTIFICATIONS,
[
'placeholder' => $sPlaceholderAttCode,
'replace' => $replace,