diff options
Diffstat (limited to 'libs/Zend/Log/Writer/Stream.php')
-rwxr-xr-x | libs/Zend/Log/Writer/Stream.php | 2 |
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"); } } |