logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ihabu...@apache.org
Subject svn commit: r1382244 - /logging/log4php/trunk/src/main/php/appenders/LoggerAppenderFile.php
Date Sat, 08 Sep 2012 07:52:21 GMT
Author: ihabunek
Date: Sat Sep  8 07:52:20 2012
New Revision: 1382244

URL: http://svn.apache.org/viewvc?rev=1382244&view=rev
Log:
Fixed minor bug introduced in previous commit.

Modified:
    logging/log4php/trunk/src/main/php/appenders/LoggerAppenderFile.php

Modified: logging/log4php/trunk/src/main/php/appenders/LoggerAppenderFile.php
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/main/php/appenders/LoggerAppenderFile.php?rev=1382244&r1=1382243&r2=1382244&view=diff
==============================================================================
--- logging/log4php/trunk/src/main/php/appenders/LoggerAppenderFile.php (original)
+++ logging/log4php/trunk/src/main/php/appenders/LoggerAppenderFile.php Sat Sep  8 07:52:20
2012
@@ -164,7 +164,7 @@ class LoggerAppenderFile extends LoggerA
 		if (is_resource($this->fp)) {
 			$this->write($this->layout->getFooter());
 			fclose($this->fp);
-			unset($this->fp);
+			$this->fp = null;
 		}
 		$this->closed = true;
 	}



Mime
View raw message