aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Profiles.php
diff options
context:
space:
mode:
authornobody <nobody@zotlabs.com>2020-09-19 23:49:15 +0000
committerMario <mario@mariovavti.com>2020-09-21 10:37:57 +0200
commit88b014e9a759406c3a496f7b1a8d6b4284c940ff (patch)
treecd07ff6f9f1b6ad1464823055c1287b5a315ddd0 /Zotlabs/Module/Profiles.php
parentbd0b8d768eb3fdc2d95527e383abdfd72c3dc59a (diff)
downloadvolse-hubzilla-88b014e9a759406c3a496f7b1a8d6b4284c940ff.tar.gz
volse-hubzilla-88b014e9a759406c3a496f7b1a8d6b4284c940ff.tar.bz2
volse-hubzilla-88b014e9a759406c3a496f7b1a8d6b4284c940ff.zip
use channel index
(cherry picked from commit 846d30239d97091d1e6b56e923c1965471f6bbff) (cherry picked from commit f422362747e6def2feffe99aa8a2e555be3b409b)
Diffstat (limited to 'Zotlabs/Module/Profiles.php')
-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),