Skip to content

Commit

Permalink
Joomla 4
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush-maherwal committed Feb 13, 2023
1 parent 7f03d3f commit 37245e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/site/controllers/http.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ private function resetDocumentType()
{
$headerParts = explode(":", $header);

if (is_array($headerParts) && isset($headerParts))
if (is_array($headerParts) && isset($headerParts[0]))
{
$headerToRemove = trim($headerParts[0]);
header_remove($headerToRemove);
Expand Down

0 comments on commit 37245e0

Please sign in to comment.