Fix: RecordUtil.getRecordValueWithUnit
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user