From 2756e3f85818346a478725b6dd94a966e0d92c07 Mon Sep 17 00:00:00 2001 From: mensonge Date: Sat, 10 May 2008 08:59:41 +0000 Subject: Bug fixes: correct minor bugs appearing with 'notice' level in PHP git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@122 b3834d28-1941-0410-a4f8-b48e95affb8f --- includes/php-gettext/streams.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/php-gettext/streams.php b/includes/php-gettext/streams.php index d57aac6..4237de1 100644 --- a/includes/php-gettext/streams.php +++ b/includes/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; @@ -163,4 +164,4 @@ class CachedFileReader extends StringReader { } -?> \ No newline at end of file +?> -- cgit v1.2.3