Skip to content

Commit

Permalink
Debug plugin too
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Babker committed Jul 19, 2016
1 parent b9c67db commit 0012d07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/system/debug/debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ protected function displayQueries()
{
if ($dup != $id)
{
$dups[] = '<a href="#dbg-query-' . ($dup + 1) . '">#' . ($dup + 1) . '</a>';
$dups[] = '<a class="alert-link" href="#dbg-query-' . ($dup + 1) . '">#' . ($dup + 1) . '</a>';
}
}

Expand Down Expand Up @@ -1107,7 +1107,7 @@ protected function displayQueries()

foreach ($dups as $dup)
{
$links[] = '<a href="#dbg-query-' . ($dup + 1) . '">#' . ($dup + 1) . '</a>';
$links[] = '<a class="alert-link" href="#dbg-query-' . ($dup + 1) . '">#' . ($dup + 1) . '</a>';
}

$html[] = '<div>' . JText::sprintf('PLG_DEBUG_QUERY_DUPLICATES_NUMBER', count($links)) . ': ' . implode('&nbsp; ', $links) . '</div>';
Expand Down

0 comments on commit 0012d07

Please sign in to comment.