aboutsummaryrefslogtreecommitdiffstats
path: root/include/network.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-25 21:42:46 -0700
committerfriendica <info@friendica.com>2014-08-25 21:42:46 -0700
commiteb8f194419975a6cd3debba145c8769da055b8dc (patch)
treed33ca7dea3545703f4e65902f34bea270182d37b /include/network.php
parent84ff380302764703dcc0bdf9ab5d69bac549726e (diff)
downloadvolse-hubzilla-eb8f194419975a6cd3debba145c8769da055b8dc.tar.gz
volse-hubzilla-eb8f194419975a6cd3debba145c8769da055b8dc.tar.bz2
volse-hubzilla-eb8f194419975a6cd3debba145c8769da055b8dc.zip
sort out some anomalies
Diffstat (limited to 'include/network.php')
-rw-r--r--include/network.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/network.php b/include/network.php
index 83a3ea4d0..ff0502f5a 100644
--- a/include/network.php
+++ b/include/network.php
@@ -929,7 +929,7 @@ function discover_by_webbie($webbie) {
dbesc($webbie)
);
if(! $r) {
- $r = q("insert into hubloc ( hubloc_guid, hubloc_hash, hubloc_addr, hubloc_network, hubloc_url, hubloc_host, hubloc_callback, hubloc_updated ) values ('%s','%s','%s','%s','%s','%s','%s','%s')",
+ $r = q("insert into hubloc ( hubloc_guid, hubloc_hash, hubloc_addr, hubloc_network, hubloc_url, hubloc_host, hubloc_callback, hubloc_updated, hubloc_flags ) values ('%s','%s','%s','%s','%s','%s','%s','%s', %d)",
dbesc($guid),
dbesc($addr),
dbesc($addr),
@@ -937,7 +937,8 @@ function discover_by_webbie($webbie) {
dbesc(trim($diaspora_base,'/')),
dbesc($hostname),
dbesc($notify),
- dbesc(datetime_convert())
+ dbesc(datetime_convert()),
+ intval(HUBLOC_FLAGS_PRIMARY)
);
}
$photos = import_profile_photo($vcard['photo'],$addr);