Need to go back to how it was since all the plugins will have the
ref_types in the database set to memberinfo and not member.
}
// *** Note that ref_type should be Member (10) rather than MemberInfo(20), but this works ***
- $socialWhereT = 'T.ref_type = '.$this->config['ref_type_numb']['Member'].' AND T.ref_dest = '.$memberID;
- $socialWhere = 'ref_type = '.$this->config['ref_type_numb']['Member'].' AND ref_dest = '.$memberID;
+ $socialWhereT = 'T.ref_type = '.$this->config['ref_type_numb']['MemberInfo'].' AND T.ref_dest = '.$memberID;
+ $socialWhere = 'ref_type = '.$this->config['ref_type_numb']['MemberInfo'].' AND ref_dest = '.$memberID;
// Get the base member data
require_once GLM_MEMBERS_PLUGIN_CLASS_PATH.'/data/dataMembers.php';