aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/textreparser/row_based_plugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/textreparser/row_based_plugin.php')
-rw-r--r--phpBB/phpbb/textreparser/row_based_plugin.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/phpBB/phpbb/textreparser/row_based_plugin.php b/phpBB/phpbb/textreparser/row_based_plugin.php
index e39ec4d5d3..6b63ffeeaf 100644
--- a/phpBB/phpbb/textreparser/row_based_plugin.php
+++ b/phpBB/phpbb/textreparser/row_based_plugin.php
@@ -65,10 +65,7 @@ abstract class row_based_plugin extends base
protected function get_records($min_id, $max_id)
{
$result = $this->db->sql_query($this->get_records_query($min_id, $max_id));
- while ($row = $this->db->sql_fetchrow($result))
- {
- $records[] = $this->add_missing_fields($row);
- }
+ $records = $this->db->sql_fetchrowset($result);
$this->db->sql_freeresult($result);
return $records;