mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-07 16:15:22 +02:00
[ticket/12718] Fix spacing and type casting
PHPBB3-12718
This commit is contained in:
parent
833ba11113
commit
6d399c7d6a
@ -340,7 +340,7 @@ class phpbb_content_visibility_delete_post_test extends phpbb_database_test_case
|
|||||||
|
|
||||||
$result = $db->sql_query('SELECT user_posts
|
$result = $db->sql_query('SELECT user_posts
|
||||||
FROM phpbb_users
|
FROM phpbb_users
|
||||||
WHERE user_id = ' . $data['poster_id']);
|
WHERE user_id = ' . (int) $data['poster_id']);
|
||||||
|
|
||||||
$this->assertEquals($expected_user, $db->sql_fetchrowset($result));
|
$this->assertEquals($expected_user, $db->sql_fetchrowset($result));
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user