aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authornobody <nobody@zotlabs.com>2020-09-19 23:49:15 +0000
committerMario <mario@mariovavti.com>2020-09-21 10:35:56 +0200
commitf422362747e6def2feffe99aa8a2e555be3b409b (patch)
tree81cfe420e391e07c29d736e96a6ee917ffff6fe3 /Zotlabs
parent34217f5f901ae4dca180bceccef425de1eef4aeb (diff)
downloadvolse-hubzilla-f422362747e6def2feffe99aa8a2e555be3b409b.tar.gz
volse-hubzilla-f422362747e6def2feffe99aa8a2e555be3b409b.tar.bz2
volse-hubzilla-f422362747e6def2feffe99aa8a2e555be3b409b.zip
use channel index
(cherry picked from commit 846d30239d97091d1e6b56e923c1965471f6bbff)
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Module/Profiles.php2
1 files changed, 1 insertions, 1 deletions
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),