SSH2: fix pre-PHP 5.4 syntax error

This commit is contained in:
terrafrost 2022-01-14 18:31:19 -06:00
parent 888867e7b6
commit dac83d206e

View File

@ -4209,7 +4209,7 @@ class Net_SSH2
$header = '';
} else {
$this->regenerate_compression_context = false;
$this->compress_context = deflate_init(ZLIB_ENCODING_RAW, ['window' => 15]);
$this->compress_context = deflate_init(ZLIB_ENCODING_RAW, array('window' => 15));
$header = "\x78\x9C";
}
if ($this->compress_context) {