1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-19 23:32:02 +02:00

[ticket/8713] Use correct parameter for nested data.

PHPBB3-8713
This commit is contained in:
Andreas Fischer 2012-09-08 13:41:51 +02:00
parent 06c3868c27
commit 2c41b9062a

View File

@ -54,7 +54,7 @@ class phpbb_type_cast_helper_test extends phpbb_test_case
$data = array(' eviL<3 ');
$expected = array(' eviL&lt;3 ');
$this->type_cast_helper->recursive_set_var($data, '', true, false);
$this->type_cast_helper->recursive_set_var($data, array(0 => ''), true, false);
$this->assertEquals($expected, $data);
}