Author: grobmeier
Date: Tue Jan  5 06:14:34 2010
New Revision: 895917

URL: http://svn.apache.org/viewvc?rev=895917&view=rev
Log:
LOG4PHP-91 brought up by Dan Barkell: use of wrong constant name corrected

Modified:
    incubator/log4php/trunk/src/changes/changes.xml
    incubator/log4php/trunk/src/main/php/helpers/LoggerOptionConverter.php

Modified: incubator/log4php/trunk/src/changes/changes.xml
URL: 
http://svn.apache.org/viewvc/incubator/log4php/trunk/src/changes/changes.xml?rev=895917&r1=895916&r2=895917&view=diff
==============================================================================
--- incubator/log4php/trunk/src/changes/changes.xml (original)
+++ incubator/log4php/trunk/src/changes/changes.xml Tue Jan  5 06:14:34 2010
@@ -23,6 +23,9 @@
     <title>Apache log4php.</title>
   </properties>
   <body>
+       <release version="2.1" description="Stabilizing">
+               <action type="fix" issue="LOG4PHP-91">LoginOptionConverter.php 
(used wrong constant name)</action>
+       </release>
     <release version="2.0" description="PHP 5 compatibility">
                <action type="fix" issue="LOG4PHP-3">Maven 2.0 build</action>
                <action type="fix" issue="LOG4PHP-7">Updated source file 
headers with current ASF notice</action>

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=895917&r1=895916&r2=895917&view=diff
==============================================================================
--- incubator/log4php/trunk/src/main/php/helpers/LoggerOptionConverter.php 
(original)
+++ incubator/log4php/trunk/src/main/php/helpers/LoggerOptionConverter.php Tue 
Jan  5 06:14:34 2010
@@ -295,7 +295,7 @@
                                        // LoggerOptionConverter::substVars() 
has no closing brace. Opening brace
                                        return '';
                                } else {
-                                       $j += self::START_LEN;
+                                       $j += self::DELIM_START_LEN;
                                        $key = substr($val, $j, $k - $j);
                                        // first try in System properties
                                        $replacement = 
LoggerOptionConverter::getSystemProperty($key, null);


Reply via email to