aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-09 04:55:52 -0700
committerfriendica <info@friendica.com>2012-04-09 04:55:52 -0700
commit92c20895e0e0c94e17793f91f84faedfc8de938c (patch)
treebbb21d9a85cab8b8a1c7280559824858e4b9d5b4
parentc1e25968071f01a9b4f4b69541818a0fc3d7eebf (diff)
downloadvolse-hubzilla-92c20895e0e0c94e17793f91f84faedfc8de938c.tar.gz
volse-hubzilla-92c20895e0e0c94e17793f91f84faedfc8de938c.tar.bz2
volse-hubzilla-92c20895e0e0c94e17793f91f84faedfc8de938c.zip
use local_user for tag completion if available. See bug #368
-rw-r--r--mod/item.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/item.php b/mod/item.php
index 82fb0bf72..c30b17457 100644
--- a/mod/item.php
+++ b/mod/item.php
@@ -447,7 +447,7 @@ function item_post(&$a) {
if(count($tags)) {
foreach($tags as $tag) {
- handle_tag($a, $body, $inform, $str_tags, $profile_uid, $tag);
+ handle_tag($a, $body, $inform, $str_tags, (local_user()) ? local_user() : $profile_uid , $tag);
}
}