]> git.mxchange.org Git - friendica.git/commitdiff
probably shouldn't require exact match for non-string
authorZach Prezkuta <fermion@gmx.com>
Sat, 25 Aug 2012 03:46:42 +0000 (21:46 -0600)
committerZach Prezkuta <fermion@gmx.com>
Sat, 25 Aug 2012 03:46:42 +0000 (21:46 -0600)
include/user.php

index 9d94efeea9251267eefada9650b8d0770109b29e..7fa48559e3613cfbe3195d4a0ee520fc4aca84a0 100644 (file)
@@ -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),