aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-04-15 11:56:56 +0000
committerMario <mario@mariovavti.com>2020-04-15 11:56:56 +0000
commit91cad21d332154eba17b21d3a2dd6a64d55d0a28 (patch)
tree65d1fd77e09823533d3dc29ab29808bda7edf7af /Zotlabs
parentd6b9c8b93d5f04d986b1c9e61be9146d556f403a (diff)
downloadvolse-hubzilla-91cad21d332154eba17b21d3a2dd6a64d55d0a28.tar.gz
volse-hubzilla-91cad21d332154eba17b21d3a2dd6a64d55d0a28.tar.bz2
volse-hubzilla-91cad21d332154eba17b21d3a2dd6a64d55d0a28.zip
fetch the item for asld in Lib/Share. This probably fixes addons issue #146
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/Share.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Share.php b/Zotlabs/Lib/Share.php
index 3a2ab1783..f8b636c10 100644
--- a/Zotlabs/Lib/Share.php
+++ b/Zotlabs/Lib/Share.php
@@ -2,6 +2,7 @@
namespace Zotlabs\Lib;
+use Zotlabs\Lib\Activity;
class Share {
@@ -54,7 +55,7 @@ class Share {
if(! $this->item)
return $obj;
- $obj['asld'] = $this->item['mid'];
+ $obj['asld'] = Activity::fetch_item( [ 'id' => $this->item['mid'] ] );
$obj['type'] = $this->item['obj_type'];
$obj['id'] = $this->item['mid'];
$obj['content'] = $this->item['body'];