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));

CommentFileSizeAuthor
#1 search_form.patch661 bytesgtcaz

Comments

gtcaz’s picture

Status: Active » Needs review
StatusFileSize
new661 bytes

Patch including explicit case to array type.

gtcaz’s picture

Status: Needs review » Needs work

As chx pointed out in another node, this suppresses the error rather than fixing it.

Steven’s picture

Status: Needs work » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)