Skip to content

Commit

Permalink
Fix check for API.getBulkRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Jan 7, 2025
1 parent d565369 commit 55e59c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/API/API.php
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ public function getBulkRequest($urls)

$params += $queryParameters;

if (!empty($params['method']) && $params['method'] === 'API.getBulkRequest') {
if (!empty($params['method']) && trim((string) $params['method']) === 'API.getBulkRequest') {
continue;
}

Expand Down

0 comments on commit 55e59c5

Please sign in to comment.