mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/13803] Sort test rows in SQL to match the expected result
PHPBB3-13803
This commit is contained in:
parent
6ab524f8dc
commit
d42b2fe795
1 changed files with 2 additions and 1 deletions
|
@ -47,7 +47,8 @@ abstract class phpbb_textreparser_test_row_based_plugin extends phpbb_database_t
|
|||
$columns = $reparser->get_columns();
|
||||
$sql = 'SELECT ' . $columns['id'] . ' AS id, ' . $columns['text'] . ' AS text
|
||||
FROM ' . $reparser->get_table_name() . '
|
||||
WHERE ' . $this->db->sql_in_set($columns['id'], $ids);
|
||||
WHERE ' . $this->db->sql_in_set($columns['id'], $ids) . '
|
||||
ORDER BY id';
|
||||
$result = $this->db->sql_query($sql);
|
||||
$rows = $this->db->sql_fetchrowset($result);
|
||||
$this->db->sql_freeresult($result);
|
||||
|
|
Loading…
Add table
Reference in a new issue