Index: trunk/kernel/include/portalgroup.php =================================================================== diff -u -N -r881 -r888 --- trunk/kernel/include/portalgroup.php (.../portalgroup.php) (revision 881) +++ trunk/kernel/include/portalgroup.php (.../portalgroup.php) (revision 888) @@ -526,6 +526,10 @@ $clear_old = false; } + if ($data["PortalUserId"] == 0) { + + } + $sql = "INSERT INTO ".$this->SourceTable." (PortalUserId, GroupId, PrimaryGroup) VALUES (".$data['PortalUserId'].", ".$data['GroupId'].", ".$data['PrimaryGroup'].")"; @$this->adodbConnection->Execute($sql);