From: Steve Sutton Date: Mon, 12 Feb 2018 21:31:34 +0000 (-0500) Subject: Update for social import X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=efb2f057dadd0d803a48a00da2d4bb920f363062;p=WP-Plugins%2Fglm-member-db-social.git Update for social import was missing case for rss. --- diff --git a/models/admin/import/social.php b/models/admin/import/social.php index 7f9263c..5cd2c22 100644 --- a/models/admin/import/social.php +++ b/models/admin/import/social.php @@ -386,6 +386,18 @@ class GlmMembersAdmin_import_social extends GlmMembersAdmin_import_index $dataFormat ); } + if ($member['rss']) { + $newId = $this->wpdb->insert( + $dataTable, + array( + 'url' => $member['rss'], + 'ref_type' => $this->config['ref_type_numb']['MemberInfo'], + 'ref_dest' => $memberId, + 'social' => 12 + ), + $dataFormat + ); + } } }