mirror of
https://github.com/joomla-extensions/patchtester.git
synced 2025-04-11 00:11:49 +00:00
Update PullsModel.php
This commit is contained in:
parent
41724bfde2
commit
9f444cf4ec
@ -535,9 +535,9 @@ class PullsModel extends AbstractModel
|
||||
// Default this to being a single page of results
|
||||
$lastPage = 1;
|
||||
|
||||
if (isset($pullsResponse->headers['Link']))
|
||||
if (isset($pullsResponse->headers['link']))
|
||||
{
|
||||
$linkHeader = $pullsResponse->headers['Link'];
|
||||
$linkHeader = $pullsResponse->headers['link'];
|
||||
|
||||
// The `joomla/http` 2.0 package uses PSR-7 Responses which has a different format for headers, check for this
|
||||
if (is_array($linkHeader))
|
||||
|
Loading…
x
Reference in New Issue
Block a user