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

No check against $options in attribute filter layer. ~@2.2.x #68

Closed
rootindex opened this issue Jun 27, 2016 · 3 comments · Fixed by #82
Closed

No check against $options in attribute filter layer. ~@2.2.x #68

rootindex opened this issue Jun 27, 2016 · 3 comments · Fixed by #82

Comments

@rootindex
Copy link

1 exception(s):
Exception #0 (Exception): Warning: Invalid argument supplied for foreach() in /www/vendor/smile/elasticsuite/src/module-elasticsuite-catalog/Model/Layer/Filter/Attribute.php on line 216

Exception #0 (Exception): Warning: Invalid argument supplied for foreach() in /www/vendor/smile/elasticsuite/src/module-elasticsuite-catalog/Model/Layer/Filter/Attribute.php on line 216

A fix was if (count($options)) { ... }, sadly no time to push a fix guys (deadlines my side).

@afoucret
Copy link
Contributor

Hi @rootindex,

I would be very interested in having your code pushed if you have more time now.

@southerncomputer
Copy link
Contributor

rootindex@2c137be

He posted it in his fork!

@afoucret
Copy link
Contributor

PR has been merged

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