Skip to content

Commit

Permalink
pkp#10823 Fixed validate call
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasraoni committed Jan 19, 2025
1 parent e598e9f commit a7893ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/core/PKPRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ public function _authorizeInitializeAndCallRequest(callable $serviceEndpoint, PK
if ($serviceEndpoint[0]->authorize($request, $args, $roleAssignments)) {
// Execute class-wide data integrity checks.
if ($validate) {
$serviceEndpoint[0]->validate($request, $args);
$serviceEndpoint[0]->validate(null, $request);
}

// Let the handler initialize itself.
Expand Down

0 comments on commit a7893ad

Please sign in to comment.