Skip to content

Commit

Permalink
Fix check for API.getBulkRequest (#22914)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl authored Jan 7, 2025
1 parent 359f042 commit 3b03241
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']) && is_string($params['method']) && trim($params['method']) === 'API.getBulkRequest') {
continue;
}

Expand Down

0 comments on commit 3b03241

Please sign in to comment.