From 17e9b759f1c78f216c4e4947eebf99697a1362c3 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Mon, 12 Feb 2018 13:56:01 -0500 Subject: [PATCH] Undo last commit. 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. --- models/admin/social/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/admin/social/index.php b/models/admin/social/index.php index 2273bb5..e132a03 100644 --- a/models/admin/social/index.php +++ b/models/admin/social/index.php @@ -116,8 +116,8 @@ class GlmMembersAdmin_social_index extends GlmDataSocialUrls } // *** 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'; -- 2.17.1