#279 - Error with getPrimaryGroupID function in SecurityGroup.php
The query in the getPrimaryGroupID function throws an error. I tracked it down to line 668 with the "order by securitygroups_users.primary_group desc" portion of the query. When I remove that part, it runs and returns the correct Group ID
10 years ago
I'm using the basic SecuritySuite on SugarCRM 6.5.16
10 years ago
Hello Michael,
Run a Quick Repair & Rebuild from Admin->Repair and then Execute the generated SQL. This will add that missing primary_group column.
-Jason
10 years ago
Thanks, i thought i did the repair but i must not have
10 years ago
No problem. In retrospect, I should have handled adding that new field during install. I dropped the ball and forgot about the field in that release.