Skip to content

Commit

Permalink
MDL-46269 tool_httpsreplace: Fix incorrect sorting
Browse files Browse the repository at this point in the history
  • Loading branch information
mudrd8mz authored and stronk7 committed Oct 18, 2017
1 parent bc22db0 commit 91f0151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/tool/httpsreplace/cli/url_replace.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@

$urlfinder = new \tool_httpsreplace\url_finder();
$results = $urlfinder->http_link_stats();
asort($urlfinder);
asort($results);
$fp = fopen('php://stdout', 'w');
fputcsv($fp, ['clientsite', 'httpdomain', 'urlcount']);
foreach ($results as $domain => $count) {
Expand Down

0 comments on commit 91f0151

Please sign in to comment.