aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-06-14 09:42:43 +0200
committerMario Vavti <mario@mariovavti.com>2016-06-14 09:42:43 +0200
commit5c458e9111d8853891a0545d63fe7f55ee0f5a41 (patch)
tree01f80be918dd76a58cc1102166c53048631aed8a /include/bbcode.php
parentb6d425838f9025d8faf6dbfe90fce091d94b3cd7 (diff)
parent0ef2622621867fa197988974b47eff85f20a80e7 (diff)
downloadvolse-hubzilla-5c458e9111d8853891a0545d63fe7f55ee0f5a41.tar.gz
volse-hubzilla-5c458e9111d8853891a0545d63fe7f55ee0f5a41.tar.bz2
volse-hubzilla-5c458e9111d8853891a0545d63fe7f55ee0f5a41.zip
Merge branch 'dev' into sabre32
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php7
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">';