LOG4PHP-91 brought up by Dan Barkell: use of wrong constant name corrected
authorChristian Grobmeier <grobmeier@apache.org>
Tue, 5 Jan 2010 06:14:34 +0000 (06:14 +0000)
committerChristian Grobmeier <grobmeier@apache.org>
Tue, 5 Jan 2010 06:14:34 +0000 (06:14 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/log4php/trunk@895917 13f79535-47bb-0310-9956-ffa450edef68

src/changes/changes.xml
src/main/php/helpers/LoggerOptionConverter.php

index 334ee2d..ca1c667 100644 (file)
@@ -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>
index af58e1f..0e6756a 100644 (file)
@@ -295,7 +295,7 @@ class LoggerOptionConverter {
                                        // 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);