phpBB

Code Changes

File: phpbb/request/type_cast_helper.php

  Unmodified   Added   Modified   Removed
Line 36Line 36

if ($type == 'string')
{


if ($type == 'string')
{

			$result = str_replace(array("\r\n", "\r", "\0"), array("\n", "\n", ''), $result);

			$result = strtr($result, ["\r\n" => "\n", "\r" => "\n", "\0" => '', "\u{FEFF}" => '']);


if ($trim)
{


if ($trim)
{