aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-11-16 10:11:46 +0100
committerMario Vavti <mario@mariovavti.com>2018-11-16 10:11:46 +0100
commitc69556f2ff9845b9ac1bce89be2431a7ac6d3fd7 (patch)
treefe411c26c6a7fea7b6d2b54449ec84d0dbe51033 /include/items.php
parentca4e7f9b4fab7035e511582a0755d58e9e4fa2f0 (diff)
parentb0689614bff4272f90b0c3f064ca91b16cb392e0 (diff)
downloadvolse-hubzilla-c69556f2ff9845b9ac1bce89be2431a7ac6d3fd7.tar.gz
volse-hubzilla-c69556f2ff9845b9ac1bce89be2431a7ac6d3fd7.tar.bz2
volse-hubzilla-c69556f2ff9845b9ac1bce89be2431a7ac6d3fd7.zip
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 3d707a492..2baad3d04 100755
--- a/include/items.php
+++ b/include/items.php
@@ -4765,7 +4765,8 @@ function item_create_edit_activity($post) {
$new_item['id'] = 0;
$new_item['parent'] = 0;
- $new_item['mid'] = item_message_id();
+ $new_item['uuid'] = item_message_id();
+ $new_item['mid'] = z_root() . '/item/' . $new_item['uuid'];
$new_item['body'] = sprintf( t('[Edited %s]'), (($update_item['item_thread_top']) ? t('Post','edit_activity') : t('Comment','edit_activity')));