Skip to content

Commit 8a1eb29

Browse files
authored
Merge pull request #322 from joomdonation/patch-1
Fix Fetch PRs
2 parents 41724bf + 9f444cf commit 8a1eb29

File tree

1 file changed

+2
-2
lines changed
  • administrator/components/com_patchtester/PatchTester/Model

1 file changed

+2
-2
lines changed

administrator/components/com_patchtester/PatchTester/Model/PullsModel.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,9 +535,9 @@ public function requestFromGithub($page)
535535
// Default this to being a single page of results
536536
$lastPage = 1;
537537

538-
if (isset($pullsResponse->headers['Link']))
538+
if (isset($pullsResponse->headers['link']))
539539
{
540-
$linkHeader = $pullsResponse->headers['Link'];
540+
$linkHeader = $pullsResponse->headers['link'];
541541

542542
// The `joomla/http` 2.0 package uses PSR-7 Responses which has a different format for headers, check for this
543543
if (is_array($linkHeader))

0 commit comments

Comments
 (0)