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

Fix assignment of base page template #227

Merged
merged 1 commit into from
Nov 26, 2020

Conversation

christianwach
Copy link
Member

Overview

I somehow managed to break the code that assigns the base page template in my recent [NFC] code style compliance PR (blush). This PR fixes it.

Before

Throws "PHP Notice: Undefined variable: basepage_template"

After

No PHP Notice.

@kcristiano
Copy link
Member

@christianwach I missed this as well. r-run works properly.

@kcristiano kcristiano merged commit 314a13e into civicrm:master Nov 26, 2020
@christianwach christianwach deleted the basepage-template branch November 26, 2020 14:29
@christianwach
Copy link
Member Author

@kcristiano Thanks for merging. It happened because civilint was complaining about apply_filters inside an array so I moved it outside, then assigned the wrong variable as the param. Doh!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants