Update registration-dist.php

pull/3135/head
SpaceCabbie 6 years ago committed by GitHub
parent 9bcc4e0933
commit 76bd736b70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 13
      custompages/registration-dist.php

@ -23,9 +23,16 @@ if (isset($content['form']->_elementIndex['extra_mail_notify_message'])) {
if (isset($content['form']->_elementIndex['extra_mail_notify_group_message'])) { if (isset($content['form']->_elementIndex['extra_mail_notify_group_message'])) {
$content['form']->removeElement('extra_mail_notify_group_message'); $content['form']->removeElement('extra_mail_notify_group_message');
} }
$content['form']->removeElement('official_code'); if (isset($content['form']->_elementIndex['official_code'])) {
$content['form']->removeElement('phone'); $content['form']->removeElement('official_code');
$content['form']->removeElement('submit'); }
if (isset($content['form']->_elementIndex['phone'])) {
$content['form']->removeElement('phone');
}
if (isset($content['form']->_elementIndex['submit'])) {
$content['form']->removeElement('submit');
}
if (isset($content['form']->_elementIndex['status'])) { if (isset($content['form']->_elementIndex['status'])) {
$content['form']->removeElement('status'); $content['form']->removeElement('status');
$content['form']->removeElement('status'); $content['form']->removeElement('status');

Loading…
Cancel
Save