You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by gr...@apache.org on 2009/05/24 00:03:17 UTC
svn commit: r778042 -
/incubator/log4php/trunk/src/main/php/helpers/LoggerOptionConverter.php
Author: grobmeier
Date: Sat May 23 22:03:16 2009
New Revision: 778042
URL: http://svn.apache.org/viewvc?rev=778042&view=rev
Log:
enhanced codeflow
Modified:
incubator/log4php/trunk/src/main/php/helpers/LoggerOptionConverter.php
Modified: incubator/log4php/trunk/src/main/php/helpers/LoggerOptionConverter.php
URL: http://svn.apache.org/viewvc/incubator/log4php/trunk/src/main/php/helpers/LoggerOptionConverter.php?rev=778042&r1=778041&r2=778042&view=diff
==============================================================================
--- incubator/log4php/trunk/src/main/php/helpers/LoggerOptionConverter.php (original)
+++ incubator/log4php/trunk/src/main/php/helpers/LoggerOptionConverter.php Sat May 23 22:03:16 2009
@@ -214,10 +214,9 @@
*/
public static function findAndSubst($key, $props) {
$value = @$props[$key];
- if(empty($value)) {
- return null;
+ if(!empty($value)) {
+ return LoggerOptionConverter::substVars($value, $props);
}
- return LoggerOptionConverter::substVars($value, $props);
}
/**