aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Activity.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-08-23 23:09:14 +0200
committerMax Kostikov <max@kostikov.co>2019-08-23 23:09:14 +0200
commit4dbaaa63bba054b9b4d538c059b3de5a57327d31 (patch)
treef30d74fe4df89dd8f92ca023a5d05ee1855b9663 /Zotlabs/Lib/Activity.php
parent35790c584ba5a67a94556ab67ddd57c76a500084 (diff)
parent8cc40038375c33886f7c6f7d429c33a47eab8fb9 (diff)
downloadvolse-hubzilla-4dbaaa63bba054b9b4d538c059b3de5a57327d31.tar.gz
volse-hubzilla-4dbaaa63bba054b9b4d538c059b3de5a57327d31.tar.bz2
volse-hubzilla-4dbaaa63bba054b9b4d538c059b3de5a57327d31.zip
Merge branch 'dev' into 'dev'
issues with image import to zot6 - wrong mid. Also label source project of... See merge request hubzilla/core!1717
Diffstat (limited to 'Zotlabs/Lib/Activity.php')
-rw-r--r--Zotlabs/Lib/Activity.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Activity.php b/Zotlabs/Lib/Activity.php
index 0757eec37..12b6cbdfd 100644
--- a/Zotlabs/Lib/Activity.php
+++ b/Zotlabs/Lib/Activity.php
@@ -596,7 +596,7 @@ class Activity {
$i['obj'] = json_decode($i['obj'],true);
}
if($i['obj']['type'] === ACTIVITY_OBJ_PHOTO) {
- $i['obj']['id'] = $i['id'];
+ $i['obj']['id'] = $i['mid'];
}
$obj = self::encode_object($i['obj']);