aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-03-01 12:46:55 +0100
committerJoas Schilling <nickvergessen@gmx.de>2013-03-01 12:46:55 +0100
commit19c3917de985d04f994bc22bcec1e814aa2e207c (patch)
treea4b146b44bc6ba584db54d1e3fbb4a02529b02c7
parentb8b2ede35db3d562ca6ed3087ad99933e05c4b67 (diff)
downloadforums-19c3917de985d04f994bc22bcec1e814aa2e207c.tar
forums-19c3917de985d04f994bc22bcec1e814aa2e207c.tar.gz
forums-19c3917de985d04f994bc22bcec1e814aa2e207c.tar.bz2
forums-19c3917de985d04f994bc22bcec1e814aa2e207c.tar.xz
forums-19c3917de985d04f994bc22bcec1e814aa2e207c.zip
[ticket/10411] Fix call to function on non-object $db->...()
PHPBB3-10411
-rw-r--r--phpBB/includes/db/migration/data/310/teampage.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/db/migration/data/310/teampage.php b/phpBB/includes/db/migration/data/310/teampage.php
index 510ecf9481..4e77da17b7 100644
--- a/phpBB/includes/db/migration/data/310/teampage.php
+++ b/phpBB/includes/db/migration/data/310/teampage.php
@@ -82,7 +82,7 @@ class phpbb_db_migration_data_310_teampage extends phpbb_db_migration
$result = $this->db->sql_query($sql);
$teampage_entries = array();
- while ($row = $db->sql_fetchrow($result))
+ while ($row = $this->db->sql_fetchrow($result))
{
$teampage_entries[] = array(
'group_id' => (int) $row['group_id'],
@@ -91,7 +91,7 @@ class phpbb_db_migration_data_310_teampage extends phpbb_db_migration
'teampage_parent' => 0,
);
}
- $db->sql_freeresult($result);
+ $this->db->sql_freeresult($result);
if (sizeof($teampage_entries))
{