logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ihabu...@apache.org
Subject svn commit: r1187890 - /logging/log4php/trunk/src/main/php/LoggerAppender.php
Date Sun, 23 Oct 2011 14:18:31 GMT
Author: ihabunek
Date: Sun Oct 23 14:18:31 2011
New Revision: 1187890

URL: http://svn.apache.org/viewvc?rev=1187890&view=rev
Log:
Minor bugfix to LoggerAppender. Apparently unset() removes the object property completely
instead of clearing it?

Modified:
    logging/log4php/trunk/src/main/php/LoggerAppender.php

Modified: logging/log4php/trunk/src/main/php/LoggerAppender.php
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/main/php/LoggerAppender.php?rev=1187890&r1=1187889&r2=1187890&view=diff
==============================================================================
--- logging/log4php/trunk/src/main/php/LoggerAppender.php (original)
+++ logging/log4php/trunk/src/main/php/LoggerAppender.php Sun Oct 23 14:18:31 2011
@@ -97,7 +97,7 @@ abstract class LoggerAppender {
 	 * Clears the filter chain by removing all the filters in it.
 	 */
 	public function clearFilters() {
-		unset($this->filter);
+		$this->filter = null;
 	}
 
 	/**



Mime
View raw message