Bug #23161 ยป 15093_v1.diff
t3lib/class.t3lib_div.php (Arbeitskopie) | ||
---|---|---|
if (is_object($var)) {
|
||
$debug = str_replace(
|
||
array('"', '/', '<', "\n", "\r"),
|
||
array('\"', '\/', '\<', '<br />', ''),
|
||
array("\\", '"', '/', '<', "\n", "\r"),
|
||
array('\\\\', '\"', '\/', '\<', '<br />', ''),
|
||
$debug
|
||
);
|
||
} else {
|
||
$debug = str_replace(
|
||
array('"', '/', '<', "\n", "\r"),
|
||
array('\"', '\/', '\<', '', ''),
|
||
array("\\", '"', '/', '<', "\n", "\r"),
|
||
array('\\\\', '\"', '\/', '\<', '', ''),
|
||
$debug
|
||
);
|
||
}
|