Browse Source

ZF-11161
Backing out r23905 from trunk, this will need a more complex/detailed fix


git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@23980 44c647ce-9c0f-0410-b52a-842ac1e357ba

ralph 14 years ago
parent
commit
8ef9a83d41
1 changed files with 1 additions and 1 deletions
  1. 1 1
      library/Zend/Log/Formatter/Xml.php

+ 1 - 1
library/Zend/Log/Formatter/Xml.php

@@ -149,7 +149,7 @@ class Zend_Log_Formatter_Xml extends Zend_Log_Formatter_Abstract
             if($key == "message") {
             if($key == "message") {
                 $value = htmlspecialchars($value, ENT_COMPAT, $enc);
                 $value = htmlspecialchars($value, ENT_COMPAT, $enc);
             }
             }
-            $elt->appendChild(new DOMElement($key, (string)$value));
+            $elt->appendChild(new DOMElement($key, $value));
         }
         }
 
 
         $xml = $dom->saveXML();
         $xml = $dom->saveXML();