A3M
A3M copied to clipboard
rel_account_role_model.php bug : fix included
lines 27 & 28 refer to a table 'a3m_rel_account_role_model' but should be 'a3m_rel_account_role'. Two quick edits and it functions properly. Thanks!
//$this->db->join('a3m_acl_role', 'a3m_rel_account_role_model.role_id = a3m_acl_role.id');
//$this->db->where("a3m_rel_account_role_model.account_id = $account_id AND a3m_acl_role.suspendedon IS NULL");
$this->db->join('a3m_acl_role', 'a3m_rel_account_role.role_id = a3m_acl_role.id');
$this->db->where("a3m_rel_account_role.account_id = $account_id AND a3m_acl_role.suspendedon IS NULL");
I'm guessing this is something in v1? I think I remember fixing something like that in the v2 branch.