diff options
-rw-r--r-- | pear/System.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pear/System.php b/pear/System.php index 3fd25e082f..47367e5441 100644 --- a/pear/System.php +++ b/pear/System.php @@ -292,8 +292,7 @@ class System System::raiseError("Could not open $file"); continue; } - while(!feof($fd)) { - $cont = fread($fd, 2048); + while ($cont = fread($fd, 2048)) { if (isset($outputfd)) { fwrite($outputfd, $cont); } else { |