Skip to content

Commit

Permalink
[WeChall] fix for new activeranking.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricerbot committed Mar 17, 2018
1 parent b646506 commit 794cf09
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/module/WeChall/method/RankingActive.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ private function templateRanking($user)
list($page, $rank) = $this->getPageForSession($ipp, $user);
} else {
$page = Common::clamp(intval($page), 1, $nPages);
$rank = $user === false || $user->isOptionEnabled(0x10000000) ? 1 : $this->calcExactRank($user);
// $rank = $user === false || $user->isOptionEnabled(0x10000000) ? 1 : $this->calcExactRank($user);
}

// var_dump($page);
Expand All @@ -59,7 +59,7 @@ private function templateRanking($user)

$tVars = array(
'rank' => $from+1,
'highlight_rank' => $rank,
'highlight_rank' => 1,
'sites' => $this->getSites(),
'userdata' => $userdata,
'page_menu' => GWF_PageMenu::display($page, $nPages, $href),
Expand Down

0 comments on commit 794cf09

Please sign in to comment.