[ticket/10653] Fix parameter to substr() in unit tests. Should be 1, not -1.

PHPBB3-10653
This commit is contained in:
Andreas Fischer 2012-03-04 22:11:45 +01:00
parent 6df721b215
commit f3af5945e3

View file

@ -373,7 +373,7 @@ class phpbb_dbal_select_test extends phpbb_database_test_case
if (is_string($actual) && isset($actual[0]) && $actual[0] === '~') if (is_string($actual) && isset($actual[0]) && $actual[0] === '~')
{ {
$actual = substr($actual, -1); $actual = substr($actual, 1);
} }
$this->assertGreaterThan( $this->assertGreaterThan(