From ed6b8f84ad07a8aaa88124bb29e26f9042c3f552 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 20 Jan 2015 23:36:45 +0100 Subject: [ticket/13530] Fix undefined variables PHPBB3-13530 --- phpBB/phpbb/db/migration/data/v30x/release_3_0_5_rc1.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/phpbb') diff --git a/phpBB/phpbb/db/migration/data/v30x/release_3_0_5_rc1.php b/phpBB/phpbb/db/migration/data/v30x/release_3_0_5_rc1.php index c3e887841f..003ccf8f18 100644 --- a/phpBB/phpbb/db/migration/data/v30x/release_3_0_5_rc1.php +++ b/phpBB/phpbb/db/migration/data/v30x/release_3_0_5_rc1.php @@ -110,7 +110,7 @@ class release_3_0_5_rc1 extends container_aware_migration // Select auth_option_ids... the largest id will be preserved $sql = 'SELECT auth_option_id FROM ' . ACL_OPTIONS_TABLE . " - WHERE auth_option = '" . $db->sql_escape($option) . "' + WHERE auth_option = '" . $this->db->sql_escape($option) . "' ORDER BY auth_option_id DESC"; // sql_query_limit not possible here, due to bug in postgresql layer $result = $this->db->sql_query($sql); -- cgit v1.2.1