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:
Diffstat (limited to 'libs/Zend/Log/Writer/Stream.php')
-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 f4f0f2f7f0..206a1251ab 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) === false) {
+ if (! @fwrite($this->_stream, $line)) {
throw new Zend_Log_Exception("Unable to write to stream");
}
}