aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-30 01:30:37 -0700
committerfriendica <info@friendica.com>2013-10-30 01:30:37 -0700
commit8da4da37ccbcc6921f97eeb0c9cd3c23567bd761 (patch)
tree85650a0a34cfce52d8d4ada4e59e03c83149aea4 /include/zot.php
parentad31724fd1c3b0e497484115c803b00c248e4c6f (diff)
downloadvolse-hubzilla-8da4da37ccbcc6921f97eeb0c9cd3c23567bd761.tar.gz
volse-hubzilla-8da4da37ccbcc6921f97eeb0c9cd3c23567bd761.tar.bz2
volse-hubzilla-8da4da37ccbcc6921f97eeb0c9cd3c23567bd761.zip
access policy and directory mode were crossed on site table creation
Diffstat (limited to 'include/zot.php')
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php
index 4ea217f1d..ae34beebc 100644
--- a/include/zot.php
+++ b/include/zot.php
@@ -1672,8 +1672,8 @@ function import_site($arr,$pubkey) {
$r = q("insert into site ( site_url, site_access, site_flags, site_update, site_directory, site_register, site_sellpage )
values ( '%s', %d, %d, '%s', '%s', %d, '%s' )",
dbesc($url),
- intval($site_directory),
intval($access_policy),
+ intval($site_directory),
dbesc(datetime_convert()),
dbesc($directory_url),
intval($register_policy),