aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorStefan Parviainen <saparvia@caterva.eu>2015-01-13 17:54:40 +0100
committerStefan Parviainen <saparvia@caterva.eu>2015-01-13 17:54:40 +0100
commit93735df2c78b249d5735834c190dc91bad336172 (patch)
treede5bbcfd93ed668f80c059485d2dc4e7480b743d /mod/photos.php
parentadc9564b5cc5f1fc410220514285927052cdfe4a (diff)
downloadvolse-hubzilla-93735df2c78b249d5735834c190dc91bad336172.tar.gz
volse-hubzilla-93735df2c78b249d5735834c190dc91bad336172.tar.bz2
volse-hubzilla-93735df2c78b249d5735834c190dc91bad336172.zip
Allow tags in mail, many profile fields, and admin info
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 df9880c8d..3a7ef2d71 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();