From d84018763d3550040dbf5115884caf12bc730f76 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Wed, 29 Jan 2014 09:27:34 +0100 Subject: [PATCH] [FIX] Admin Panel Users: Show user shares Fixes #1624 --- public/include/classes/statistics.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/include/classes/statistics.class.php b/public/include/classes/statistics.class.php index c61aeb23..f45304f6 100644 --- a/public/include/classes/statistics.class.php +++ b/public/include/classes/statistics.class.php @@ -437,7 +437,7 @@ class Statistics extends Base { // Add our cached shares to the users $aUsers = array(); while ($row = $result->fetch_assoc()) { - $row['shares'] = $this->getUserShares($row['id']); + $row['shares'] = $this->getUserShares($row['username'], $row['id']); $aUsers[] = $row; } if (count($aUsers) > 0) {