mirror of
https://github.com/friendica/friendica
synced 2025-04-25 21:50:12 +00:00
Some more checks that the gcontact table contains valid data
This commit is contained in:
parent
1dd73dce80
commit
28f97845ca
3 changed files with 24 additions and 4 deletions
|
@ -1147,7 +1147,7 @@ function handle_tag($a, &$body, &$inform, &$str_tags, $profile_uid, $tag, $netwo
|
|||
|
||||
if (!$r) {
|
||||
$probed = probe_url($name);
|
||||
if (isset($probed["url"])) {
|
||||
if ($result['network'] != NETWORK_PHANTOM) {
|
||||
update_gcontact($probed);
|
||||
$r = q("SELECT `url`, `name`, `nick`, `network`, `alias`, `notify` FROM `gcontact` WHERE `nurl` = '%s' LIMIT 1",
|
||||
dbesc(normalise_link($probed["url"])));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue