From 4a8b94bed8cb4d2e914a14d25d3ab7267e13dc61 Mon Sep 17 00:00:00 2001 From: nathangray Date: Wed, 28 Nov 2018 11:11:45 -0700 Subject: [PATCH] Fix some PHP 7.2 warnings "PHP Warning: Use of undefined constant ..." --- api/src/Storage/Merge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/Storage/Merge.php b/api/src/Storage/Merge.php index fc7efc4f6b..5408d7a48f 100644 --- a/api/src/Storage/Merge.php +++ b/api/src/Storage/Merge.php @@ -1826,7 +1826,7 @@ abstract class Merge } // Apply HTML formatting to target document, if possible // check if we can use the XSL extension, to not give a fatal error and rendering whole merge-print non-functional - if (class_exists(XSLTProcessor) && class_exists(DOMDocument) && $this->parse_html_styles) + if (class_exists('XSLTProcessor') && class_exists('DOMDocument') && $this->parse_html_styles) { try {