mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 11:06:15 +00:00
correcting usage of feof in CakeSocket::read()
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7456 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
1fa9939965
commit
34b4ecb9c2
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ class CakeSocket extends Object {
|
|||
}
|
||||
}
|
||||
|
||||
if (!feof($this->connection)) {
|
||||
if (feof($this->connection) !== false) {
|
||||
return fread($this->connection, $length);
|
||||
} else {
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue