projects
/
WP-Plugins
/
glm-member-db-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f73f69f
)
Update for social import
author
Steve Sutton
<steve@gaslightmedia.com>
Mon, 12 Feb 2018 21:31:34 +0000
(16:31 -0500)
committer
Steve Sutton
<steve@gaslightmedia.com>
Mon, 12 Feb 2018 21:31:34 +0000
(16:31 -0500)
was missing case for rss.
models/admin/import/social.php
patch
|
blob
|
history
diff --git
a/models/admin/import/social.php
b/models/admin/import/social.php
index
7f9263c
..
5cd2c22
100644
(file)
--- 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
+ );
+ }
}
}