]> git.mxchange.org Git - friendica.git/commitdiff
use local_user for tag completion if available. See bug #368
authorfriendica <info@friendica.com>
Mon, 9 Apr 2012 11:55:52 +0000 (04:55 -0700)
committerfriendica <info@friendica.com>
Mon, 9 Apr 2012 11:55:52 +0000 (04:55 -0700)
mod/item.php

index 82fb0bf72cf613f7b6c423b46febfc527be5bdfc..c30b1745777437859e42871282aec3aeaefb4ca1 100644 (file)
@@ -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); 
                }
        }