Fix: RecordUtil.getRecordValueWithUnit

This commit is contained in:
2018-12-03 01:14:10 +09:00
parent eb61871526
commit 123a715bac
15 changed files with 19 additions and 8 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ function get_app_highest_record($maestro_id, $app_id, $player_id) {
global $db_conn;
$query = "
SELECT HighestRecord
SELECT MAX(HighestRecord)
FROM app_highest_record
WHERE MaestroID = ? AND AppID = ? AND PlayerID = ?;
";
@@ -31,7 +31,7 @@ if($prev_best_record_id === null || $prev_best_record_id < 0) {
// highest record is the highest record
$app_highest_record = get_app_highest_record($maestro_id, $app_id, $player_id);
// echo "\napp_highest_record : $app_highest_record";
echo "\napp_highest_record : $app_highest_record";
// echo "\nrecord : $record";
if($app_highest_record == null) {