actually limit list of sources to 10.

This commit is contained in:
Promofaux
2016-04-18 22:46:49 +01:00
parent e1e5e50c69
commit 861be94589
+1 -1
View File
@@ -112,7 +112,7 @@
}
}
arsort($sources);
array_slice($sources, 0, 10);
$sources = array_slice($sources, 0, 10);
return Array(
'top_sources' => $sources
);