8000 [HttpFoundation] fixed a PHP Notice (refs #5034) · gedrox/symfony@965fe32 · GitHub
[go: up one dir, main page]

Skip to content

Commit 965fe32

Browse files
committed
[HttpFoundation] fixed a PHP Notice (refs symfony#5034)
1 parent 207124c commit 965fe32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ public function send()
306306
$obStatus = ob_get_status(1);
307307
while (($level = ob_get_level()) > 0 && $level !== $previous) {
308308
$previous = $level;
309-
if ($obStatus[$level - 1] && $obStatus[$level - 1]['del']) {
309+
if ($obStatus[$level - 1] && isset($obStatus[$level - 1]['del']) && $obStatus[$level - 1]['del']) {
310310
ob_end_flush();
311311
}
312312
}

0 commit comments

Comments
 (0)
0