mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/13530] Fix undefined variables
PHPBB3-13530
This commit is contained in:
parent
a5fae1b1f0
commit
ed6b8f84ad
2 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ class release_3_0_5_rc1 extends container_aware_migration
|
||||||
// Select auth_option_ids... the largest id will be preserved
|
// Select auth_option_ids... the largest id will be preserved
|
||||||
$sql = 'SELECT auth_option_id
|
$sql = 'SELECT auth_option_id
|
||||||
FROM ' . ACL_OPTIONS_TABLE . "
|
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";
|
ORDER BY auth_option_id DESC";
|
||||||
// sql_query_limit not possible here, due to bug in postgresql layer
|
// sql_query_limit not possible here, due to bug in postgresql layer
|
||||||
$result = $this->db->sql_query($sql);
|
$result = $this->db->sql_query($sql);
|
||||||
|
|
|
@ -62,7 +62,7 @@ class phpbb_functional_prune_shadow_topic_test extends phpbb_functional_test_cas
|
||||||
$crawler = self::request('GET', "viewtopic.php?t={$this->post['topic_id']}&sid={$this->sid}");
|
$crawler = self::request('GET', "viewtopic.php?t={$this->post['topic_id']}&sid={$this->sid}");
|
||||||
|
|
||||||
$this->assertContains('Prune Shadow #1', $crawler->filter('html')->text());
|
$this->assertContains('Prune Shadow #1', $crawler->filter('html')->text());
|
||||||
$this->data['topics']['Prune Shadow #1'] = (int) $post['topic_id'];
|
$this->data['topics']['Prune Shadow #1'] = (int) $this->post['topic_id'];
|
||||||
$this->data['posts']['Prune Shadow #1'] = (int) $this->get_parameter_from_link($crawler->filter('.post')->selectLink($this->lang('POST', '', ''))->link()->getUri(), 'p');
|
$this->data['posts']['Prune Shadow #1'] = (int) $this->get_parameter_from_link($crawler->filter('.post')->selectLink($this->lang('POST', '', ''))->link()->getUri(), 'p');
|
||||||
|
|
||||||
$this->assert_forum_details($this->data['forums']['Prune Shadow'], array(
|
$this->assert_forum_details($this->data['forums']['Prune Shadow'], array(
|
||||||
|
|
Loading…
Add table
Reference in a new issue