Line 922 has a cast error. It should read:
$form = array_merge($form, (array)module_invoke($type, 'search', 'form', $keys));
rather than:
$form = array_merge($form, module_invoke($type, 'search', 'form', $keys));
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | search_form.patch | 661 bytes | gtcaz |
Comments
Comment #1
gtcaz commentedPatch including explicit case to array type.
Comment #2
gtcaz commentedAs chx pointed out in another node, this suppresses the error rather than fixing it.
Comment #3
Steven commentedComment #4
(not verified) commented