diff options
author | Mario <mario@mariovavti.com> | 2022-11-17 08:57:09 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-11-17 08:57:09 +0000 |
commit | 5216c5b23213b1a97051fe7150086109c8a00df1 (patch) | |
tree | 0e3f1e7bc6286c9a796cd431e82b8c664916e395 | |
parent | 8633162f0c49f0cb246f5a0775e7ce41a8fd6650 (diff) | |
download | volse-hubzilla-5216c5b23213b1a97051fe7150086109c8a00df1.tar.gz volse-hubzilla-5216c5b23213b1a97051fe7150086109c8a00df1.tar.bz2 volse-hubzilla-5216c5b23213b1a97051fe7150086109c8a00df1.zip |
fix regression when adding feed contacts
-rw-r--r-- | Zotlabs/Lib/Connect.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Connect.php b/Zotlabs/Lib/Connect.php index 4570627fc..802bbe0f5 100644 --- a/Zotlabs/Lib/Connect.php +++ b/Zotlabs/Lib/Connect.php @@ -109,10 +109,12 @@ class Connect { if ($wf || $d) { + $xchan_hash = (($wf) ? $wf : $url); + // something was discovered - find the record which was just created. $r = q("select * from xchan where ( xchan_hash = '%s' or xchan_url = '%s' or xchan_addr = '%s' ) $sql_options", - dbesc($wf ?? $url), + dbesc($xchan_hash), dbesc($url), dbesc($url) ); |