We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f03d3f commit 37245e0Copy full SHA for 37245e0
code/site/controllers/http.php
@@ -181,7 +181,7 @@ private function resetDocumentType()
181
{
182
$headerParts = explode(":", $header);
183
184
- if (is_array($headerParts) && isset($headerParts))
+ if (is_array($headerParts) && isset($headerParts[0]))
185
186
$headerToRemove = trim($headerParts[0]);
187
header_remove($headerToRemove);
0 commit comments