SSH2: $this->channel_buffers is an array - not a string

This commit is contained in:
terrafrost 2013-01-13 11:36:57 -06:00
parent db949bfc61
commit 5d49af105f
1 changed files with 1 additions and 1 deletions

View File

@ -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]);
}