mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-17 02:35:10 +00:00
SSH1: Fix E_NOTICE
This commit is contained in:
parent
c3ee632587
commit
46baf1815f
@ -846,7 +846,7 @@ class Net_SSH1 {
|
||||
while (true) {
|
||||
if ($mode == NET_SSH1_READ_REGEX) {
|
||||
preg_match($expect, $this->interactiveBuffer, $matches);
|
||||
$match = $matches[0];
|
||||
$match = isset($matches[0]) ? $matches[0] : array();
|
||||
}
|
||||
$pos = strpos($this->interactiveBuffer, $match);
|
||||
if ($pos !== false) {
|
||||
|
Loading…
Reference in New Issue
Block a user