We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Snippet area returns empty snippet instead of null if it does not exist in specific locale.
Should return null.
en
{% set extranet = sulu_snippet_load_by_area('extranet') %}
de
{{ dump(extranet) }}
the whole extranet object should return here null instead.
extranet
null
I think something like ghost_load false or so is missing here.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Actual Behavior
Snippet area returns empty snippet instead of null if it does not exist in specific locale.
Expected Behavior
Should return null.
Steps to Reproduce
en
{% set extranet = sulu_snippet_load_by_area('extranet') %}
de
{{ dump(extranet) }}
will return a snippet with empty strings if it does not exist:the whole
extranet
object should return herenull
instead.Possible Solutions
I think something like ghost_load false or so is missing here.
The text was updated successfully, but these errors were encountered: