Skip to content

Commit

Permalink
Update QueryFilter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
patiencemanzen authored Nov 18, 2022
1 parent 62f36e1 commit 6950b6b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/QueryFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ public function __construct(Request $request) {
public function findFocuses($target, $focus) {
$focused = [];
foreach($focus as $f)
$focused[$f] = $target[$f];
if (array_key_exists($f, $target))
$focused[$f] = $target[$f];
return $focused;
}

Expand Down

0 comments on commit 6950b6b

Please sign in to comment.