mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-25 03:16:02 +00:00
Fixing 'Undefined array key' E_WARNING
This commit is contained in:
parent
2ed74533f4
commit
85c8e916d8
@ -4331,7 +4331,7 @@ class SSH2
|
||||
function _send_channel_packet($client_channel, $data)
|
||||
{
|
||||
while (strlen($data)) {
|
||||
if (!$this->window_size_client_to_server[$client_channel]) {
|
||||
if (!isset($this->window_size_client_to_server[$client_channel])) {
|
||||
$this->bitmap^= self::MASK_WINDOW_ADJUST;
|
||||
// using an invalid channel will let the buffers be built up for the valid channels
|
||||
$this->_get_channel_packet(-1);
|
||||
|
Loading…
Reference in New Issue
Block a user