mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
Merge pull request #6697 from marc1706/ticket/17022
[ticket/17022] Fix SQL report link
This commit is contained in:
@@ -4032,7 +4032,9 @@ function phpbb_generate_debug_output(\phpbb\db\driver\driver_interface $db, \php
|
||||
|
||||
if ($auth->acl_get('a_'))
|
||||
{
|
||||
$debug_info[] = '<a href="' . build_url() . '&explain=1">SQL Explain</a>';
|
||||
$page_url = build_url();
|
||||
$page_url .= ((!str_contains($page_url, '?')) ? '?' : '&') . 'explain=1';
|
||||
$debug_info[] = '<a href="' . $page_url . '">SQL Explain</a>';
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user