From bd59f3d1526a52b6ee5a6c2210b8957560707cdd Mon Sep 17 00:00:00 2001 From: Zach Prezkuta Date: Fri, 24 Aug 2012 21:46:42 -0600 Subject: [PATCH] probably shouldn't require exact match for non-string --- include/user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/user.php b/include/user.php index 9d94efeea9..7fa48559e3 100644 --- a/include/user.php +++ b/include/user.php @@ -277,7 +277,7 @@ function create_user($arr) { require_once('include/group.php'); 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 $r = q("SELECT id FROM `group` WHERE uid = %d AND name = '%s'", intval($newuid),