Problem/Motivation
views_plugin_query_default::options_submit() throwing type error when value returned by drupal_array_get_nested_value() is passed to explode() and isn't a string
Steps to reproduce
Edit a View > Advanced > Other > Query settings > For this block > Check Distinct and Apply (this display)
Proposed resolution
Deconstruct value returned by drupal_array_get_nested_value() and pass that value to explode(). See attached patch
| Comment | File | Size | Author |
|---|---|---|---|
| views-query-plugin.patch | 1008 bytes | jonnytoomey |
Comments
Comment #2
damienmckennaThank you for reporting the bug, and for providing a patch.
This needs work as the short array syntax won't work with PHP 5.