Skip to content

Commit 37245e0

Browse files
Joomla 4
1 parent 7f03d3f commit 37245e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/site/controllers/http.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ private function resetDocumentType()
181181
{
182182
$headerParts = explode(":", $header);
183183

184-
if (is_array($headerParts) && isset($headerParts))
184+
if (is_array($headerParts) && isset($headerParts[0]))
185185
{
186186
$headerToRemove = trim($headerParts[0]);
187187
header_remove($headerToRemove);

0 commit comments

Comments
 (0)