Skip to content

Commit 9f444cf

Browse files
authored
Update PullsModel.php
1 parent 41724bf commit 9f444cf

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)