missing basetag

This commit is contained in:
Mario Vavti 2018-05-04 13:54:12 +02:00
parent 76e644e18a
commit 34f6d9f714

View File

@ -2559,6 +2559,8 @@ function handle_tag($a, &$body, &$access_tag, &$str_tags, $profile_uid, $tag, $i
$basetag = substr($tag,7); $basetag = substr($tag,7);
$basetag = substr($basetag,0,-6); $basetag = substr($basetag,0,-6);
} }
else
$basetag = substr($tag,1);
//create text for link //create text for link
@ -2587,6 +2589,7 @@ function handle_tag($a, &$body, &$access_tag, &$str_tags, $profile_uid, $tag, $i
'url' => $url, 'url' => $url,
'contact' => $r[0] 'contact' => $r[0]
]; ];
} }
//is it a person tag? //is it a person tag?
@ -3334,4 +3337,4 @@ function unique_multidim_array($array, $key) {
$i++; $i++;
} }
return $temp_array; return $temp_array;
} }