use local_user for tag completion if available. See bug #368
This commit is contained in:
parent
c1e2596807
commit
92c20895e0
|
@ -447,7 +447,7 @@ function item_post(&$a) {
|
||||||
|
|
||||||
if(count($tags)) {
|
if(count($tags)) {
|
||||||
foreach($tags as $tag) {
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue