projects
/
WP-Plugins
/
glm-member-db-contacts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
010d7e9
)
Setup contact and company publish fields.
author
Steve Sutton
<steve@gaslightmedia.com>
Thu, 9 Aug 2018 16:05:40 +0000
(12:05 -0400)
committer
Steve Sutton
<steve@gaslightmedia.com>
Thu, 9 Aug 2018 16:05:40 +0000
(12:05 -0400)
Set business_publish to True.
Set contact_publish to False.
models/admin/management/contacts.php
patch
|
blob
|
history
diff --git
a/models/admin/management/contacts.php
b/models/admin/management/contacts.php
index
1656e90
..
4fb17d0
100644
(file)
--- a/
models/admin/management/contacts.php
+++ b/
models/admin/management/contacts.php
@@
-155,7
+155,9
@@
class GlmMembersAdmin_management_contacts extends GlmDataContacts
business_city = city,
business_state = state,
business_zip = zip,
- business_country = country"
+ business_country = country,
+ business_publish = true,
+ contact_publish = false"
);
$result .= '<p>Updated: ' . $updated . '</p>';
// Empty the Original Contact Info address fields