MDL-46269 tool_httpsreplace: Fix incorrect sorting
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
bc22db02fb
commit
91f015171f
@@ -83,7 +83,7 @@ if ($options['replace']) {
|
||||
|
||||
$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) {
|
||||
|
||||
Reference in New Issue
Block a user