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

If category image don't exist, this will throw a null on php logs #476

Closed
rodriciru opened this issue Mar 27, 2023 · 3 comments
Closed

If category image don't exist, this will throw a null on php logs #476

rodriciru opened this issue Mar 27, 2023 · 3 comments

Comments

@rodriciru
Copy link
Contributor

rodriciru commented Mar 27, 2023

{if !empty($category.image.large.url)}

I think this only needs {if $category.image} because if {if $category.image} don't exist, the values of large and large.url it will be null or undefined
#477

@rodriciru
Copy link
Contributor Author

#477

@tswfi
Copy link
Contributor

tswfi commented Dec 20, 2023

I can't replicate this on ps 8.1.2 and current develop branch of hummingbird.

@florine2623
Copy link

@rodriciru ,

I can't reproduce your issue on PS 9.0.x with develop branch of hummingbird.
I don't have any error in my logs regarding category-header.tpl.

I will close your issue.

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 a pull request may close this issue.

3 participants