Skip to content

Commit

Permalink
fixed: crash on admin search result when no hits
Browse files Browse the repository at this point in the history
  • Loading branch information
jeabakker committed Aug 13, 2024
1 parent a9452dc commit e29cd4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/default/opensearch/admin_search/result.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
$row[] = elgg_format_element('td', ['colspan' => 2], elgg_format_element('b', [], $key));
} else {
$row[] = elgg_format_element('td', [], $key);
$row[] = elgg_format_element('td', [], $value);
$row[] = elgg_format_element('td', [], $value ?? ' ');
}

$rows[] = elgg_format_element('tr', [], implode(PHP_EOL, $row));
Expand Down

0 comments on commit e29cd4e

Please sign in to comment.