diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-06-14 19:56:04 -0400 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-06-14 19:56:04 -0400 |
commit | eeaafe9f3918661022b465fe0522a3f0e44065b0 (patch) | |
tree | b0e2e941b670419950630a4cfc2b0078da69b502 /include/bbcode.php | |
parent | 6430a232f88ed214997d7704c18aead873094a0f (diff) | |
parent | 0ef2622621867fa197988974b47eff85f20a80e7 (diff) | |
download | volse-hubzilla-eeaafe9f3918661022b465fe0522a3f0e44065b0.tar.gz volse-hubzilla-eeaafe9f3918661022b465fe0522a3f0e44065b0.tar.bz2 volse-hubzilla-eeaafe9f3918661022b465fe0522a3f0e44065b0.zip |
Merge remote-tracking branch 'upstream/dev' into wiki
Diffstat (limited to 'include/bbcode.php')
-rw-r--r-- | include/bbcode.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/bbcode.php b/include/bbcode.php index 42741b392..63a475779 100644 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -242,6 +242,13 @@ function bb_ShareAttributes($match) { if ($matches[1] != "") $message_id = $matches[1]; + if(! $message_id) { + preg_match("/guid='(.*?)'/ism", $attributes, $matches); + if ($matches[1] != "") + $message_id = $matches[1]; + } + + $reldate = '<span class="autotime" title="' . datetime_convert('UTC', date_default_timezone_get(), $posted, 'c') . '" >' . datetime_convert('UTC', date_default_timezone_get(), $posted, 'r') . '</span>'; $headline = '<div class="shared_container"> <div class="shared_header">'; |