diff --git a/src/Tasks/ContentReviewEmails.php b/src/Tasks/ContentReviewEmails.php index d594e85..4837ff3 100644 --- a/src/Tasks/ContentReviewEmails.php +++ b/src/Tasks/ContentReviewEmails.php @@ -160,7 +160,7 @@ protected function notifyOwner($ownerID, SS_List $pages) */ protected function getEmailBody($config, $variables) { - $template = SSViewer::fromString($config->ReviewBody); + $template = Deprecation::withSuppressedNotice(fn() => SSViewer::fromString($config->ReviewBody)); $value = $template->process(ArrayData::create($variables)); // Cast to HTML