Commit 9c154113 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#194320 by Lynn: search block default value was array() when an empty string was intended

parent 57cedbb5
......@@ -46,7 +46,7 @@ function search_view($type = 'node') {
return $output;
}
return drupal_get_form('search_form', NULL, empty($keys) ? array() : $keys, $type);
return drupal_get_form('search_form', NULL, empty($keys) ? '' : $keys, $type);
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment