set default output in strip_share_content

This commit is contained in:
Mike Macgirvin 2023-10-10 08:46:29 +11:00
parent 3c2f178968
commit fbb9caf770

View file

@ -4170,6 +4170,7 @@ function unicode_trim($s) {
// resources; so we'll accomplish this with generic string processing instead.
function strip_share_content($str)
{
$output = $str;
$begin = strpos($str, '[share');
$end = strrpos($str, '[/share]');
if ($begin && $end) {