aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-21 16:33:35 -0700
committerfriendica <info@friendica.com>2014-10-21 16:33:35 -0700
commited7712cfbf9835368de79f8686954b536c12e4d1 (patch)
treea1b141841fba7299cbe78b449c709d99e5e548b5 /include/identity.php
parente8a7fb3d015b36af31312daf50739cf73f0f4368 (diff)
downloadvolse-hubzilla-ed7712cfbf9835368de79f8686954b536c12e4d1.tar.gz
volse-hubzilla-ed7712cfbf9835368de79f8686954b536c12e4d1.tar.bz2
volse-hubzilla-ed7712cfbf9835368de79f8686954b536c12e4d1.zip
private forum issues
Diffstat (limited to 'include/identity.php')
-rw-r--r--include/identity.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/identity.php b/include/identity.php
index 07bfaebbd..8866b4811 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -389,7 +389,8 @@ function create_identity($arr) {
dbesc( t('Friends') )
);
if($r) {
- q("update channel set channel_allow_gid = '%s' where channel_id = %d limit 1",
+ q("update channel set channel_default_group = '%s', channel_allow_gid = '%s' where channel_id = %d limit 1",
+ dbesc($r[0]['hash']),
dbesc('<' . $r[0]['hash'] . '>'),
intval($newuid)
);