probably shouldn't require exact match for non-string
This commit is contained in:
parent
7c5f5f3113
commit
bd59f3d152
1 changed files with 1 additions and 1 deletions
|
@ -277,7 +277,7 @@ function create_user($arr) {
|
||||||
require_once('include/group.php');
|
require_once('include/group.php');
|
||||||
group_add($newuid, t('Friends'));
|
group_add($newuid, t('Friends'));
|
||||||
|
|
||||||
if((! isset($a->config['system']['newuser_public'])) || ($a->config['system']['newuser_public'] === 0)) {
|
if((! isset($a->config['system']['newuser_public'])) || ($a->config['system']['newuser_public'] == 0)) {
|
||||||
// Make the group we just created the default for new contacts and for posts
|
// Make the group we just created the default for new contacts and for posts
|
||||||
$r = q("SELECT id FROM `group` WHERE uid = %d AND name = '%s'",
|
$r = q("SELECT id FROM `group` WHERE uid = %d AND name = '%s'",
|
||||||
intval($newuid),
|
intval($newuid),
|
||||||
|
|
Loading…
Reference in a new issue