diff options
author | JoshyPHP <s9e.dev@gmail.com> | 2015-05-09 18:54:57 +0200 |
---|---|---|
committer | JoshyPHP <s9e.dev@gmail.com> | 2015-05-30 17:26:00 +0200 |
commit | ae6ad754a430309796e1963684b59c01739ba4dd (patch) | |
tree | fff362c619d0cddb7ec42b6cb8d813d3cd38b69d /phpBB/phpbb/textreparser/row_based_plugin.php | |
parent | 2dc19cec9d3cb0c1e9ab8ef0afd7515f4bb7cee1 (diff) | |
download | forums-ae6ad754a430309796e1963684b59c01739ba4dd.tar forums-ae6ad754a430309796e1963684b59c01739ba4dd.tar.gz forums-ae6ad754a430309796e1963684b59c01739ba4dd.tar.bz2 forums-ae6ad754a430309796e1963684b59c01739ba4dd.tar.xz forums-ae6ad754a430309796e1963684b59c01739ba4dd.zip |
[ticket/13803] Moved the add_missing_fields() call to the base class
PHPBB3-13803
Diffstat (limited to 'phpBB/phpbb/textreparser/row_based_plugin.php')
-rw-r--r-- | phpBB/phpbb/textreparser/row_based_plugin.php | 5 |
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; |