Skip to content

Commit

Permalink
Bugfix fix undefined array key
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesbochmann committed Aug 11, 2023
1 parent 691b1c9 commit e4330cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Search/SearchBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ private function _initSearch(array $options)
*/
protected function addGenericTableMappings(&$tableMapping, $options)
{
$aliasArr = $options['alias'];
$aliasArr = $options['alias'] ?? null;
if (is_array($aliasArr)) {
foreach ($aliasArr as $alias => $data) {
$tableMapping[$alias] = $data['table'];
Expand Down

0 comments on commit e4330cd

Please sign in to comment.