diff options
author | Mario Vavti <mario@mariovavti.com> | 2021-07-01 22:30:29 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2021-07-01 22:30:29 +0200 |
commit | ebc84eab3fc6b2ee29afd13295f47419f16d2fe1 (patch) | |
tree | 89e5e0267a5e31e459dee235014095339c682ece /Zotlabs | |
parent | c6b3bc5b203d8e615c4699a8050042b9e9989e09 (diff) | |
download | volse-hubzilla-ebc84eab3fc6b2ee29afd13295f47419f16d2fe1.tar.gz volse-hubzilla-ebc84eab3fc6b2ee29afd13295f47419f16d2fe1.tar.bz2 volse-hubzilla-ebc84eab3fc6b2ee29afd13295f47419f16d2fe1.zip |
update by xchan_url to catch all associated entries
Diffstat (limited to 'Zotlabs')
-rw-r--r-- | Zotlabs/Lib/Libzot.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Libzot.php b/Zotlabs/Lib/Libzot.php index ae8c725d7..cb9bf9937 100644 --- a/Zotlabs/Lib/Libzot.php +++ b/Zotlabs/Lib/Libzot.php @@ -727,7 +727,7 @@ class Libzot { || $hidden_changed || $adult_changed || $deleted_changed || $pubforum_changed) { $rup = q("update xchan set xchan_name = '%s', xchan_name_date = '%s', xchan_connurl = '%s', xchan_follow = '%s', xchan_connpage = '%s', xchan_hidden = %d, xchan_selfcensored = %d, xchan_deleted = %d, xchan_pubforum = %d, - xchan_addr = '%s', xchan_url = '%s' where xchan_hash = '%s'", + xchan_addr = '%s', xchan_url = '%s' where xchan_url = '%s'", dbesc(($arr['name']) ? escape_tags($arr['name']) : '-'), dbesc($arr['name_updated']), dbesc($arr['primary_location']['connections_url']), @@ -739,7 +739,7 @@ class Libzot { intval($arr['public_forum']), dbesc(escape_tags($arr['primary_location']['address'])), dbesc(escape_tags($arr['primary_location']['url'])), - dbesc($xchan_hash) + dbesc($r[0]['xchan_url']) ); logger('Update: existing: ' . print_r($r[0], true), LOGGER_DATA, LOG_DEBUG); |