Update app_defaults.php

This commit is contained in:
FusionPBX 2019-02-09 08:36:30 -07:00 committed by GitHub
parent 88fadc8251
commit 6a76db2559
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -48,10 +48,10 @@ if ($domains_processed == 1) {
$sub_result = $prep_statement_sub->fetch(PDO::FETCH_ASSOC);
unset ($prep_statement_sub);
$group_uuid = $sub_result['group_uuid'];
//set the group_uuid
//set the user_group_uuid
$sql = "update v_user_groups set ";
$sql .= "group_uuid = '".$group_uuid."' ";
$sql .= "where group_user_uuid = '".$row['group_user_uuid']."'; ";
$sql .= "where user_group_uuid = '".$row['user_group_uuid']."'; ";
$db->exec($sql);
unset($sql);
}