Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatthieu_ <matthieu_@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2007-07-30 18:55:25 +0400
committermatthieu_ <matthieu_@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2007-07-30 18:55:25 +0400
commit2157033b8b6a5aeeecad81dd0b094cbfd76a523b (patch)
treee192d5577a6b0825823e174b9a4638f90a28207f
parent575be7760789c41890cc56a45eb502532929bf48 (diff)
Fixed bug in Zend_Log
TO SUBMIT ON THE ZEND ISSUE TRACKER if ( fwrite($this->_stream, $line) === false) { throw new Zend_Log_Exception("Unable to write to stream"); }
-rwxr-xr-xlibs/Zend/Log/Writer/Stream.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/Zend/Log/Writer/Stream.php b/libs/Zend/Log/Writer/Stream.php
index 206a1251ab..f4f0f2f7f0 100755
--- a/libs/Zend/Log/Writer/Stream.php
+++ b/libs/Zend/Log/Writer/Stream.php
@@ -92,7 +92,7 @@ class Zend_Log_Writer_Stream extends Zend_Log_Writer_Abstract
{
$line = $this->_formatter->format($event);
- if (! @fwrite($this->_stream, $line)) {
+ if ( fwrite($this->_stream, $line) === false) {
throw new Zend_Log_Exception("Unable to write to stream");
}
}