From 861be945890e31adf6978ddb5a9a02cedf305359 Mon Sep 17 00:00:00 2001 From: Promofaux Date: Mon, 18 Apr 2016 22:46:49 +0100 Subject: [PATCH] actually limit list of sources to 10. --- data.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data.php b/data.php index 1aca3a42..ebfeeed7 100644 --- a/data.php +++ b/data.php @@ -112,7 +112,7 @@ } } arsort($sources); - array_slice($sources, 0, 10); + $sources = array_slice($sources, 0, 10); return Array( 'top_sources' => $sources );