Index: branches/5.2.x/core/units/groups/groups_event_handler.php =================================================================== diff -u -N -r14989 -r15012 --- branches/5.2.x/core/units/groups/groups_event_handler.php (.../groups_event_handler.php) (revision 14989) +++ branches/5.2.x/core/units/groups/groups_event_handler.php (.../groups_event_handler.php) (revision 15012) @@ -1,6 +1,6 @@ Application->GetTempName(TABLE_PREFIX . 'UserGroup', 'prefix:u'); + $table_name = $this->Application->GetTempName(TABLE_PREFIX . 'UserGroupRelations', 'prefix:u'); $sql = 'SELECT GroupId FROM ' . $table_name . '