mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 21:55:15 +00:00
set default output in strip_share_content
This commit is contained in:
parent
3c2f178968
commit
fbb9caf770
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue