修正变量判断错误

This commit is contained in:
sockball
2019-12-19 13:44:20 +08:00
committed by ThinkPHP
parent 925f073b05
commit d8ac917c43

View File

@@ -196,7 +196,7 @@ class Windows extends Pipes
return;
}
if (null !== $w && 0 < count($r)) {
if (null !== $r && 0 < count($r)) {
$data = '';
while ($dataread = fread($r['input'], self::CHUNK_SIZE)) {
$data .= $dataread;