Merge branch '3.0'

This commit is contained in:
terrafrost 2021-02-21 19:19:30 -06:00
commit 6e0b98c847

View File

@ -410,7 +410,7 @@ class Stream extends SFTP
{
switch ($whence) {
case SEEK_SET:
if ($offset >= $this->size || $offset < 0) {
if ($offset < 0) {
return false;
}
break;