Closed (fixed)
Project:
Search API
Version:
7.x-1.9
Component:
Framework
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2013 at 14:49 UTC
Updated:
11 Dec 2013 at 07:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
drunken monkeyA curious problem, thanks for reporting it! It seems that in your case (maybe due to a new version?), Drush uses an array object instead of a normal array for the context parameter. Since the API docs don't specify that
$contextis an array in any stricter way, I guess that's allowed usage (though probably not a good idea). So we should probably fix our function callback to work with an array object as well.Patch attached, please test!
Comment #2
dsdeiz commentedSweet! Works on my end.
Comment #3
drunken monkeyGood to hear, thanks for testing!
Committed.