mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/16138] Resolve misc coding style issues
PHPBB3-16138
This commit is contained in:
@@ -1146,7 +1146,7 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||
'subject' => $subject,
|
||||
'message' => $message,
|
||||
'post' => true,
|
||||
'topic_id' => $topic_id,
|
||||
'topic_id' => $topic_id,
|
||||
), $additional_form_data);
|
||||
|
||||
return self::submit_post($posting_url, 'POST_REPLY', $form_data, $expected);
|
||||
@@ -1182,8 +1182,8 @@ class phpbb_functional_test_case extends phpbb_test_case
|
||||
|
||||
$url = $crawler->selectLink($form_data['subject'])->link()->getUri();
|
||||
|
||||
$topic_id = $this->get_parameter_from_link($url, 't');
|
||||
if (!$topic_id)
|
||||
$topic_id = $this->get_parameter_from_link($url, 't');
|
||||
if (!$topic_id)
|
||||
{
|
||||
$topic_id = $form_data['topic_id'];
|
||||
}
|
||||
|
Reference in New Issue
Block a user