aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-05-04 13:54:12 +0200
committerMario Vavti <mario@mariovavti.com>2018-05-04 13:54:12 +0200
commit34f6d9f7142833ef74355b49fb9cf47f93dcea20 (patch)
treecd9f63f512dc3d65cb36217efc30d079f3ce9f0b
parent76e644e18af572e5ea96223a2ad3c48f5e34be37 (diff)
downloadvolse-hubzilla-34f6d9f7142833ef74355b49fb9cf47f93dcea20.tar.gz
volse-hubzilla-34f6d9f7142833ef74355b49fb9cf47f93dcea20.tar.bz2
volse-hubzilla-34f6d9f7142833ef74355b49fb9cf47f93dcea20.zip
missing basetag
-rw-r--r--include/text.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/text.php b/include/text.php
index c7417a19b..5be44c3cb 100644
--- a/include/text.php
+++ b/include/text.php
@@ -2559,6 +2559,8 @@ function handle_tag($a, &$body, &$access_tag, &$str_tags, $profile_uid, $tag, $i
$basetag = substr($tag,7);
$basetag = substr($basetag,0,-6);
}
+ else
+ $basetag = substr($tag,1);
//create text for link
@@ -2587,6 +2589,7 @@ function handle_tag($a, &$body, &$access_tag, &$str_tags, $profile_uid, $tag, $i
'url' => $url,
'contact' => $r[0]
];
+
}
//is it a person tag?
@@ -3334,4 +3337,4 @@ function unique_multidim_array($array, $key) {
$i++;
}
return $temp_array;
-} \ No newline at end of file
+}