From: friendica Date: Mon, 9 Apr 2012 11:55:52 +0000 (-0700) Subject: use local_user for tag completion if available. See bug #368 X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=92c20895e0e0c94e17793f91f84faedfc8de938c;p=friendica.git use local_user for tag completion if available. See bug #368 --- diff --git a/mod/item.php b/mod/item.php index 82fb0bf72c..c30b174577 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); } }