X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=extlib%2Fphp-gettext%2Fstreams.php;h=3eafa7482828303b6c6713878e1d28c7d45a7381;hb=8fc904e95b66ac4ce97fa3b493797da9aa0a54af;hp=d57aac6496b2b1da2419cff07f2d04de9455bd56;hpb=5c21a371d61b4cd3dd125f2c43aa80c52c9c316d;p=quix0rs-gnu-social.git diff --git a/extlib/php-gettext/streams.php b/extlib/php-gettext/streams.php index d57aac6496..3eafa74828 100644 --- a/extlib/php-gettext/streams.php +++ b/extlib/php-gettext/streams.php @@ -108,6 +108,7 @@ class FileReader { // PHP 5.1.1 does not read more than 8192 bytes in one fread() // the discussions at PHP Bugs suggest it's the intended behaviour + $data = ''; while ($bytes > 0) { $chunk = fread($this->_fd, $bytes); $data .= $chunk;