[ticket/10495] Update request/type_cast_helper for PHP 5.4 magic_quotes_gpc drop

PHPBB3-10495
This commit is contained in:
Andreas Fischer 2012-02-04 00:57:39 +01:00
parent cddd63aae0
commit 42d9edc4f2

View file

@ -34,7 +34,7 @@ class phpbb_request_type_cast_helper implements phpbb_request_type_cast_helper_i
*/ */
public function __construct() public function __construct()
{ {
if (version_compare(PHP_VERSION, '6.0.0-dev', '>=')) if (version_compare(PHP_VERSION, '5.4.0-dev', '>='))
{ {
$this->strip = false; $this->strip = false;
} }