Hello,

I upgrade my DS from 2.7 to 2.10 and now my search is broken. After playing around with things for a bit I traced it back to

http://cgit.drupalcode.org/ds/commit/?id=17b8fb23a8bccbf3aced8937245c746...

The change from

foreach ($find as $item) {

to

foreach ((array) $find as $item) {

Cause $item to be an invalid array every loop (it's a DBConnection object rather then a result object) and broke the search.

I am using PHP 5.6 if that helps

Is there any reason to type cast the results from $query->execute() to an array?

Comments

aspilicious’s picture

already fixed in de will create a new release tomorow

aspilicious’s picture

Status: Active » Fixed

New release available should fix your issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.