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

[REF] Minor cleanup on emailReceipt #19405

Merged
merged 1 commit into from
Jan 17, 2021
Merged

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

_Fixes 3 things

  1. empty check on line items when it is never set
  2. starts to move code out of the shared-function to the form function
    when it is only possible when called via the form function. The sharing here
    is one of those cases where only a small part of the shared code is actually shared
  3. unnecessary / unused pass-by-ref

Before

yucky

After

still yucky

Technical Details

Comments

@civibot
Copy link

civibot bot commented Jan 17, 2021

(Standard links)

@civibot civibot bot added the master label Jan 17, 2021
Fixes 2 things
1) empty check on line items when it is never set
2) starts to move code out of the shared-function to the form function
when it is only possible when called via the form function. The sharing here
is one of those cases where only a small part of the shared code is actually shared
@seamuslee001
Copy link
Contributor

makes sense MOP

@seamuslee001 seamuslee001 merged commit a94dfd5 into civicrm:master Jan 17, 2021
@seamuslee001 seamuslee001 deleted the inv branch January 17, 2021 23:14
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.

2 participants