Skip to content

Commit

Permalink
check for isset instead of empty
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernd Fallert committed Aug 21, 2024
1 parent b1637fa commit e53a639
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function($arguments, $cPid)
}

// It happens that $queryParams does not contain a key 'tx_dlf[id]'
if (!empty($queryParams['tx_dlf']['id'])) {
if (!isset($queryParams['tx_dlf']['id'])) {
return $type;
}

Expand Down

0 comments on commit e53a639

Please sign in to comment.