Fix some PHP 7.2 warnings "PHP Warning: Use of undefined constant ..."

This commit is contained in:
nathangray 2018-11-28 11:11:45 -07:00
parent 4b989d016c
commit 4a8b94bed8

View File

@ -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
{