diff options
author | matthieu_ <matthieu_@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2007-07-30 18:55:25 +0400 |
---|---|---|
committer | matthieu_ <matthieu_@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2007-07-30 18:55:25 +0400 |
commit | 2157033b8b6a5aeeecad81dd0b094cbfd76a523b (patch) | |
tree | e192d5577a6b0825823e174b9a4638f90a28207f | |
parent | 575be7760789c41890cc56a45eb502532929bf48 (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-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 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"); } } |