8000 Fix typo in _parseApiReplyPrefillHeaders · jublo/codebird-php@2048e51 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2048e51

Browse files
authored
Fix typo in _parseApiReplyPrefillHeaders
See #180.
1 parent 12ef292 commit 2048e51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codebird.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2572,7 +2572,7 @@ protected function _parseApiHeaders($reply) {
25722572
*/
25732573
protected function _parseApiReplyPrefillHeaders($headers, $reply)
25742574
{
2575-
if ($reply === '' && (isset($headers['Location']) || isset($headers['Location']))) {
2575+
if ($reply === '' && (isset($headers['Location']) || isset($headers['location']))) {
25762576
$reply = [
25772577
'Location' => isset($headers['Location']) ? $headers['Location'] : $headers['location']
25782578
];

0 commit comments

Comments
 (0)
0