diff --git a/include/misc.php b/include/misc.php index f1bf0ebf9..b5e54da76 100644 --- a/include/misc.php +++ b/include/misc.php @@ -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) {