1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/13530] Fix undefined variables

PHPBB3-13530
This commit is contained in:
Joas Schilling
2015-01-20 23:36:45 +01:00
parent a5fae1b1f0
commit ed6b8f84ad
2 changed files with 2 additions and 2 deletions

View File

@@ -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);