From 5fb5e5372e4efa307a2b0136c3f01db7452df773 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 13 Apr 2020 14:33:52 +0800 Subject: [PATCH] 1 --- webapp/controller/PassController.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/webapp/controller/PassController.class.php b/webapp/controller/PassController.class.php index e728942..072b4de 100644 --- a/webapp/controller/PassController.class.php +++ b/webapp/controller/PassController.class.php @@ -136,6 +136,7 @@ class PassController{ $rank_score = $row['integral'] - $seaPoint['min']; if ($seaPoint['max'] == -1) { $max_rank_score = $seaPoint['min']; + $rank_score = $row['integral']; } else if ($seaPoint['min'] == 0) { $max_rank_score = $seaPoint['max'] + 1; }