From 02a0969b530e4e6e5eda3f854ebb3d41a9f2e42b Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Mon, 29 Aug 2022 12:31:45 +0200 Subject: [PATCH] =?UTF-8?q?N=C2=B05414=20Fix=20undefined=20constant=20erro?= =?UTF-8?q?r=20in=20notification=20with=20wrong=20placeholder=20Fix=20regr?= =?UTF-8?q?ession=20introduced=20in=2033c2168=20(#282)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/metamodel.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/metamodel.class.php b/core/metamodel.class.php index 744bfb26c..d523fcc87 100644 --- a/core/metamodel.class.php +++ b/core/metamodel.class.php @@ -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,