Implemented an override of allowed language per workspace. This is an expert feature...
[Packages/TYPO3.CMS.git] / t3lib / class.t3lib_xml.php
old mode 100755 (executable)
new mode 100644 (file)
index e89f1a3..c62c35e
@@ -279,7 +279,7 @@ class t3lib_xml {
         * @return      string          Processed input value
         */
        function substNewline($string)  {
-               return ereg_replace(chr(10),'<newline/>',$string);
+               return str_replace(chr(10),'<newline/>',$string);
        }
 
        /**