1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-14 09:32:17 +02:00

Merge pull request #3279 from rica-carv/rica-carv-patch-2

Fixes #3260 Incorrect calculation
This commit is contained in:
Cameron 2018-07-14 12:54:08 -07:00 committed by GitHub
commit ce765316dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -127,8 +127,8 @@ class forumStats
ORDER BY post_count DESC LIMIT 0,10";
$sql->gen($query);
// $top_repliers_data = $sql->db_getList('ALL', false, false, 'user_id');
$top_repliers_data = $sql->retrieve($query,true);
$top_repliers_data = $sql->db_getList('ALL', false, false, 'user_id');
// $top_repliers_data = $sql->retrieve($query,true);
// build top posters meanwhile
$top_posters = array();
@ -671,4 +671,4 @@ $frmStats = new forumStats;
require_once(HEADERF);
$frmStats->init();
require_once(FOOTERF);
require_once(FOOTERF);