aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-01-08 21:27:06 +0000
committerMario <mario@mariovavti.com>2021-01-08 21:27:06 +0000
commit7f51ff0a8d9a63773a176a13d5202693c35a5a67 (patch)
tree9c9248df4ee6aed1a56b32a5d1f7e51cda1dbe35 /include/text.php
parentd1a61c6dce36b8e57237072993dbd5ee18543b3b (diff)
downloadvolse-hubzilla-7f51ff0a8d9a63773a176a13d5202693c35a5a67.tar.gz
volse-hubzilla-7f51ff0a8d9a63773a176a13d5202693c35a5a67.tar.bz2
volse-hubzilla-7f51ff0a8d9a63773a176a13d5202693c35a5a67.zip
set resource_type = group_item and resource_id = original mid for forum items so we do not need to query the body for the original mid on edit.
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index 76df9e17b..d6b196f1e 100644
--- a/include/text.php
+++ b/include/text.php
@@ -1801,7 +1801,7 @@ function prepare_body(&$item,$attach = false,$opts = false) {
$tags = format_hashtags($item);
- if($item['resource_type'])
+ if($item['resource_type'] == 'photo')
$mentions = format_mentions($item);
$categories = format_categories($item,$writeable);