diff --git a/db_objects/person_query.class.php b/db_objects/person_query.class.php index 453b3c35..b9db9574 100644 --- a/db_objects/person_query.class.php +++ b/db_objects/person_query.class.php @@ -625,7 +625,7 @@ class="select-rule-toggle" havePerm(PERM_SYSADMIN)) { ?> Mailchimp List ID @@ -648,12 +648,16 @@ function processForm($prefix='', $fields=NULL) case 'new': $this->populate(0, Array()); $this->processFieldInterface('name'); - $this->processFieldInterface('mailchimp_list_id'); + if ($GLOBALS['user_system']->havePerm(PERM_SYSADMIN)) { + $this->processFieldInterface('mailchimp_list_id'); + } $this->setValue('owner', $_POST['is_private'] ? $GLOBALS['user_system']->getCurrentUser('id') : NULL); break; case 'replace': $this->processFieldInterface('name'); - $this->processFieldInterface('mailchimp_list_id'); + if ($GLOBALS['user_system']->havePerm(PERM_SYSADMIN)) { + $this->processFieldInterface('mailchimp_list_id'); + } $this->setValue('owner', $_POST['is_private'] ? $GLOBALS['user_system']->getCurrentUser('id') : NULL); break; case 'temp': diff --git a/views/view_3_persons__3_reports.class.php b/views/view_3_persons__3_reports.class.php index d976147c..4167d3a1 100644 --- a/views/view_3_persons__3_reports.class.php +++ b/views/view_3_persons__3_reports.class.php @@ -180,7 +180,7 @@ function printView() - Send campaign + @Send campaign