diff options
author | zotlabs <mike@macgirvin.com> | 2017-08-20 17:45:08 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-08-20 17:45:08 -0700 |
commit | 8a5c23fd50d26fb44d3d1d0f11d3bbd23872d060 (patch) | |
tree | a4aae5165fc86a8019e10ba14cf693a46c4f52a4 /include/conversation.php | |
parent | ed71afa6c7ada8ae972474f1846932032c782a94 (diff) | |
download | volse-hubzilla-8a5c23fd50d26fb44d3d1d0f11d3bbd23872d060.tar.gz volse-hubzilla-8a5c23fd50d26fb44d3d1d0f11d3bbd23872d060.tar.bz2 volse-hubzilla-8a5c23fd50d26fb44d3d1d0f11d3bbd23872d060.zip |
issue with oembed of a shared item, which wraps in another share.
Diffstat (limited to 'include/conversation.php')
-rw-r--r-- | include/conversation.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php index 30ba4d812..3b8ec19d3 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -295,7 +295,7 @@ function localize_item(&$item){ } $plink = '[zrl=' . $obj['plink'] . ']' . $post_type . '[/zrl]'; - $parsedobj = parse_xml_string($xmlhead.$item['obj']); +// $parsedobj = parse_xml_string($xmlhead.$item['obj']); $tag = sprintf('#[zrl=%s]%s[/zrl]', $parsedobj->id, $parsedobj->content); $item['body'] = sprintf( t('%1$s tagged %2$s\'s %3$s with %4$s'), $author, $objauthor, $plink, $tag ); @@ -312,7 +312,7 @@ function localize_item(&$item){ $xmlhead="<"."?xml version='1.0' encoding='UTF-8' ?".">"; - $obj = parse_xml_string($xmlhead.$item['obj']); +// $obj = parse_xml_string($xmlhead.$item['obj']); if(strlen($obj->id)) { $r = q("select * from item where mid = '%s' and uid = %d limit 1", dbesc($obj->id), |