mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/10653] Fix parameter to substr() in unit tests. Should be 1, not -1.
PHPBB3-10653
This commit is contained in:
parent
6df721b215
commit
f3af5945e3
1 changed files with 1 additions and 1 deletions
|
@ -373,7 +373,7 @@ class phpbb_dbal_select_test extends phpbb_database_test_case
|
|||
|
||||
if (is_string($actual) && isset($actual[0]) && $actual[0] === '~')
|
||||
{
|
||||
$actual = substr($actual, -1);
|
||||
$actual = substr($actual, 1);
|
||||
}
|
||||
|
||||
$this->assertGreaterThan(
|
||||
|
|
Loading…
Add table
Reference in a new issue