sforkowany z mirror/friendica
Remove test code
rodzic
1aa6c1dc5b
commit
cd92521c1d
|
@ -1103,10 +1103,8 @@ function handle_tag($a, &$body, &$inform, &$str_tags, $profile_uid, $tag, $netwo
|
||||||
normalise_link($matches[1]));
|
normalise_link($matches[1]));
|
||||||
if ($r)
|
if ($r)
|
||||||
$data = $r[0];
|
$data = $r[0];
|
||||||
else {
|
else
|
||||||
$data = probe_url($matches[1]);
|
$data = probe_url($matches[1]);
|
||||||
logger("probe_url ".$matches[1]);
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($data["alias"] != "") {
|
if ($data["alias"] != "") {
|
||||||
$newtag = '@[url='.$data["alias"].']'.$data["name"].'[/url]';
|
$newtag = '@[url='.$data["alias"].']'.$data["name"].'[/url]';
|
||||||
|
|
Ładowanie…
Reference in New Issue