updated core to 7.73
This commit is contained in:
@@ -1067,7 +1067,7 @@ function template_preprocess_search_block_form(&$variables) {
|
||||
$hidden = array();
|
||||
// Provide variables named after form keys so themers can print each element independently.
|
||||
foreach (element_children($variables['form']) as $key) {
|
||||
$type = $variables['form'][$key]['#type'];
|
||||
$type = isset($variables['form'][$key]['#type']) ? $variables['form'][$key]['#type'] : '';
|
||||
if ($type == 'hidden' || $type == 'token') {
|
||||
$hidden[] = drupal_render($variables['form'][$key]);
|
||||
}
|
||||
@@ -1172,7 +1172,7 @@ function search_excerpt($keys, $text) {
|
||||
}
|
||||
else {
|
||||
$info = search_simplify_excerpt_match($key, $text, $included[$key], $boundary);
|
||||
if ($info['where']) {
|
||||
if (isset($info['where'])) {
|
||||
$p = $info['where'];
|
||||
if ($info['keyword']) {
|
||||
$foundkeys[] = $info['keyword'];
|
||||
|
||||
Reference in New Issue
Block a user