#230 - can't load relationships with account module
i'm using "646 Basic SecuritySuite 252.zip" version because i have 6.4.3 sugarcrm version .
i have a relationship between account and securitygroups.
i'm trying to get the related records but it fails.
this line returns false:
$bean->load_relationship('securitygroups')
this line causes sugar to fail with a blank screen:
$relatedBeans = $bean->securitygroups->getBeans();
is it a bug that was in the previous version and fixed?
if not, how can i get the related records of this accont (this code is inside a logic hook)
11 years ago