aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-01-13 18:07:49 -0800
committerfriendica <info@friendica.com>2015-01-13 18:07:49 -0800
commit111bbe65d9f671f598b68da63d74555d68973358 (patch)
treebb081ac8acd5a3245e7022f64589bbf5d3c0180b /mod/photos.php
parente528483d8150b1495e96de5309ed383a5fd6e09b (diff)
parent47a2668b30de34f1f08983ba485a630a89a9dd1e (diff)
downloadvolse-hubzilla-111bbe65d9f671f598b68da63d74555d68973358.tar.gz
volse-hubzilla-111bbe65d9f671f598b68da63d74555d68973358.tar.bz2
volse-hubzilla-111bbe65d9f671f598b68da63d74555d68973358.zip
Merge branch 'moretagging' of git://github.com/pafcu/red into pafcu-moretagging
Conflicts: mod/profiles.php
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/photos.php b/mod/photos.php
index 92a2d8e24..b2eb2847f 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -354,7 +354,7 @@ function photos_post(&$a) {
require_once('include/text.php');
$profile_uid = $a->profile['profile_uid'];
- $results = linkify_tags($a, $rawtags, local_user(), $profile_uid);
+ $results = linkify_tags($a, $rawtags, (local_user()) ? local_user() : $profile_uid);
$success = $results['success'];
$post_tags = array();