From 039fa167d669a2951d11cbfe536ba833553a0523 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Wed, 24 Jan 2018 09:12:35 -0500 Subject: [PATCH] Update for field data type of the old_member_id. Was switched to tinytext instead of the integer. Updating query prepare statement so it is matching the string. --- models/admin/import/social.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/admin/import/social.php b/models/admin/import/social.php index fcf3c7c..0d510f0 100644 --- a/models/admin/import/social.php +++ b/models/admin/import/social.php @@ -241,7 +241,7 @@ class GlmMembersAdmin_import_social extends GlmMembersAdmin_import_index $this->wpdb->prepare( "SELECT id FROM " . GLM_MEMBERS_PLUGIN_DB_PREFIX . "members - WHERE old_member_id = %d", + WHERE old_member_id = %s", $member['member_id'] ) ); -- 2.17.1