added null coalescing operator to fix deprecation error
This commit is contained in:
parent
507632fd39
commit
aaa76deba0
|
@ -49,7 +49,7 @@ class BetterNavigatorExtension extends DataExtension
|
|||
$html = preg_replace(
|
||||
'/(<\/body[^>]*>)/i',
|
||||
$navigatorHTML . '\\1',
|
||||
$html
|
||||
$html ?? ''
|
||||
);
|
||||
if ($result instanceof DBHTMLText) {
|
||||
$result->setValue($html);
|
||||
|
|
Loading…
Reference in New Issue