mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-29 04:23:34 +00:00
SSH2: $this->channel_buffers is an array - not a string
This commit is contained in:
parent
db949bfc61
commit
5d49af105f
@ -2213,7 +2213,7 @@ class Net_SSH2 {
|
||||
*/
|
||||
function _get_channel_packet($client_channel, $skip_extended = false)
|
||||
{
|
||||
if (strlen($this->channel_buffers[$client_channel])) {
|
||||
if (!empty($this->channel_buffers[$client_channel])) {
|
||||
return array_shift($this->channel_buffers[$client_channel]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user