Prechádzať zdrojové kódy

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 rokov pred
rodič
commit
8ef9a83d41
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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") {
                 $value = htmlspecialchars($value, ENT_COMPAT, $enc);
             }
-            $elt->appendChild(new DOMElement($key, (string)$value));
+            $elt->appendChild(new DOMElement($key, $value));
         }
 
         $xml = $dom->saveXML();