aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-17 19:06:56 -0700
committerfriendica <info@friendica.com>2014-08-17 19:06:56 -0700
commit4a76925787672ede57e0d36c890ffb08b6d32ed4 (patch)
treee61d21fbde2020027fd0c9dd132c0cb8f998d262 /include/zot.php
parentde1198ccfe113c848482ba0ba21bc9f24caca8a8 (diff)
downloadvolse-hubzilla-4a76925787672ede57e0d36c890ffb08b6d32ed4.tar.gz
volse-hubzilla-4a76925787672ede57e0d36c890ffb08b6d32ed4.tar.bz2
volse-hubzilla-4a76925787672ede57e0d36c890ffb08b6d32ed4.zip
some more work on realms
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/zot.php b/include/zot.php
index 8dcc19522..8b0efe09d 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -2064,8 +2064,8 @@ function import_site($arr,$pubkey) {
}
else {
$update = true;
- $r = q("insert into site ( site_location, site_url, site_access, site_flags, site_update, site_directory, site_register, site_sellpage )
- values ( '%s', '%s', %d, %d, '%s', '%s', %d, '%s' )",
+ $r = q("insert into site ( site_location, site_url, site_access, site_flags, site_update, site_directory, site_register, site_sellpage, site_realm )
+ values ( '%s', '%s', %d, %d, '%s', '%s', %d, '%s', '%s' )",
dbesc($site_location),
dbesc($url),
intval($access_policy),
@@ -2073,7 +2073,8 @@ function import_site($arr,$pubkey) {
dbesc(datetime_convert()),
dbesc($directory_url),
intval($register_policy),
- dbesc($sellpage)
+ dbesc($sellpage),
+ dbesc($site_realm)
);
if(! $r) {
logger('import_site: record create failed. ' . print_r($arr,true));