From f422362747e6def2feffe99aa8a2e555be3b409b Mon Sep 17 00:00:00 2001 From: nobody Date: Sat, 19 Sep 2020 23:49:15 +0000 Subject: use channel index (cherry picked from commit 846d30239d97091d1e6b56e923c1965471f6bbff) --- Zotlabs/Module/Profiles.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zotlabs/Module/Profiles.php b/Zotlabs/Module/Profiles.php index 645d74add..9ac0e725e 100644 --- a/Zotlabs/Module/Profiles.php +++ b/Zotlabs/Module/Profiles.php @@ -610,7 +610,7 @@ class Profiles extends \Zotlabs\Web\Controller { $r = q("UPDATE xchan SET xchan_name = '%s', xchan_name_date = '%s' WHERE xchan_url = '%s'", dbesc($name), dbesc(datetime_convert()), - dbesc(z_root() . '/channel/' . $channel['xchan_address']) + dbesc(z_root() . '/channel/' . $channel['channel_address']) ); $r = q("UPDATE channel SET channel_name = '%s' WHERE channel_hash = '%s'", dbesc($name), -- cgit v1.2.3