aboutsummaryrefslogtreecommitdiffstats
path: root/include/hubloc.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-13 16:12:32 -0700
committerfriendica <info@friendica.com>2014-10-13 16:12:32 -0700
commit6503b911316d9573ba06b90fe45d8757488d464e (patch)
tree6a1ec99f537691a777f0a433f3483ef1ac16cff5 /include/hubloc.php
parent871049668999df0bfa54c93312c4e2ccb82c12d0 (diff)
downloadvolse-hubzilla-6503b911316d9573ba06b90fe45d8757488d464e.tar.gz
volse-hubzilla-6503b911316d9573ba06b90fe45d8757488d464e.tar.bz2
volse-hubzilla-6503b911316d9573ba06b90fe45d8757488d464e.zip
sql
Diffstat (limited to 'include/hubloc.php')
-rw-r--r--include/hubloc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hubloc.php b/include/hubloc.php
index 89ec6231d..1906833c5 100644
--- a/include/hubloc.php
+++ b/include/hubloc.php
@@ -144,7 +144,7 @@ function hubloc_change_primary($hubloc) {
$url = $hubloc['hubloc_url'];
$lwebbie = substr($hubloc['hubloc_addr'],0,strpos($hubloc['hubloc_addr'],'@'));
- $r = q("update xchan set xchan_addr, xchan_url = '%s', xchan_follow = '%s', xchan_connurl = '%s', where xchan_hash = '%s' limit 1",
+ $r = q("update xchan set xchan_addr = '%s', xchan_url = '%s', xchan_follow = '%s', xchan_connurl = '%s' where xchan_hash = '%s' limit 1",
dbesc($hubloc['hubloc_addr']),
dbesc($url . '/channel/' . $lwebbie),
dbesc($url . '/follow?f=&url=%s'),