mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Fixes PHP8-Bug within CI3
This commit is contained in:
@@ -357,7 +357,7 @@ if ( ! function_exists('highlight_code'))
|
|||||||
return str_replace(
|
return str_replace(
|
||||||
array('phptagopen', 'phptagclose', 'asptagopen', 'asptagclose', 'backslashtmp', 'scriptclose'),
|
array('phptagopen', 'phptagclose', 'asptagopen', 'asptagclose', 'backslashtmp', 'scriptclose'),
|
||||||
array('<?', '?>', '<%', '%>', '\\', '</script>'),
|
array('<?', '?>', '<%', '%>', '\\', '</script>'),
|
||||||
$str
|
$str ?? ''
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user