Permalink
Browse files

use local_user for tag completion if available. See bug #368

  • Loading branch information...
1 parent c1e2596 commit 92c20895e0e0c94e17793f91f84faedfc8de938c @friendica committed Apr 9, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/item.php
View
@@ -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);
}
}

0 comments on commit 92c2089

Please sign in to comment.