diff options
author | friendica <redmatrix@redmatrix.me> | 2015-04-09 22:35:04 -0700 |
---|---|---|
committer | friendica <redmatrix@redmatrix.me> | 2015-04-09 22:35:04 -0700 |
commit | d9807e34e5bfd7cff4dbbb7bfc00e7a4847f8c2e (patch) | |
tree | 709216d4c3fea01beab19f8f6f4975d4ed2653ac /include | |
parent | 8f22b927b17237a4a9d120541c69748a9fdc8295 (diff) | |
download | volse-hubzilla-d9807e34e5bfd7cff4dbbb7bfc00e7a4847f8c2e.tar.gz volse-hubzilla-d9807e34e5bfd7cff4dbbb7bfc00e7a4847f8c2e.tar.bz2 volse-hubzilla-d9807e34e5bfd7cff4dbbb7bfc00e7a4847f8c2e.zip |
don't warn folks about the webaddress observer tag. We need it in constructed urls.
Diffstat (limited to 'include')
-rw-r--r-- | include/bbcode.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php index e79e709da..47a1fd223 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -490,7 +490,7 @@ function bbcode($Text, $preserve_nl = false, $tryoembed = true) { $Text = str_replace('[observer.url]',$observer['xchan_url'], $Text); $Text = str_replace('[observer.name]',$s1 . $observer['xchan_name'] . $s2, $Text); $Text = str_replace('[observer.address]',$s1 . $observer['xchan_addr'] . $s2, $Text); - $Text = str_replace('[observer.webname]',$s1 . substr($observer['xchan_addr'],0,strpos($observer['xchan_addr'],'@')) . $s2, $Text); + $Text = str_replace('[observer.webname]', substr($observer['xchan_addr'],0,strpos($observer['xchan_addr'],'@')), $Text); $Text = str_replace('[observer.photo]',$s1 . '[zmg]'.$observer['xchan_photo_l'].'[/zmg]' . $s2, $Text); } else { $Text = str_replace('[observer.baseurl]', '', $Text); |