Skip to content

Commit

Permalink
Use array syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ralflang committed Jul 21, 2021
1 parent 45a89ee commit dcc9587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MessageImplementation.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public function hasHeader($name)
public function getHeader($name)
{
$lcHeader = Horde_String::lower($name);
if (empty($origHeader = $this->headerNames($lcHeader))) {
if (empty($origHeader = $this->headerNames[$lcHeader])) {
return [];
}
return $this->headers[$origHeader];
Expand Down

0 comments on commit dcc9587

Please sign in to comment.