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

allow null in character and corporation partials #633

Merged
merged 1 commit into from Oct 29, 2022

Conversation

recursivetree
Copy link
Contributor

Allows you to enter null into the character and corporation partials. My use case is writing something like this:

@include("web::partials.character",["character"=>$order->user->main_character ?? null])

This pr is intended to be deployed together with eveseat/services#157, but it will work even if the other pr is not merged, because we have null to int conversion in the img() function.

@warlof warlof merged commit b3b76f9 into eveseat:master Oct 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants