Skip to content

Commit

Permalink
And again
Browse files Browse the repository at this point in the history
  • Loading branch information
janhenckens committed Jan 29, 2024
1 parent aa88bcd commit b997031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/ElementService.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class ElementService extends Component
public function getEditableExports(User $user): ?array
{
$allExports = ExportElement::find()->all();
return array_filter($allExports, function ($export) use ($user) {
return array_filter($allExports, function($export) use ($user) {
if ($export->canView($user)) {
return true;
}
Expand Down

0 comments on commit b997031

Please sign in to comment.