Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Someimes ya just gotta say enough already #15175

Merged
merged 1 commit into from
Aug 31, 2019

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Spot the problem

          if ($websiteTypeId) {
            $defaults["mapper[$i]"] = [$relation, $contactDetails, $websiteTypeId];
            if (!$websiteTypeId) {
              $js .= "{$formName}['mapper[$i][2]'].style.display = 'none';\n";
            }
          }

Before

Oh so silly

After

less silly

Technical Details

Comments

@civibot
Copy link

civibot bot commented Aug 31, 2019

(Standard links)

@civibot civibot bot added the master label Aug 31, 2019
@colemanw colemanw merged commit cd416ca into civicrm:master Aug 31, 2019
@colemanw
Copy link
Member

If the code never worked in the first place, we probably don't need it!

@colemanw colemanw deleted the mini branch August 31, 2019 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants