private forum issues

This commit is contained in:
friendica
2014-10-21 16:33:35 -07:00
parent e8a7fb3d01
commit ed7712cfbf
4 changed files with 19 additions and 2 deletions

View File

@@ -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)
);