Fix: RecordUtil.getRecordValueWithUnit
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
<!-- library source files -->
|
||||
<script src="../../game/lib/keyboard_shortcut.js"></script>
|
||||
<script src="../../game/lib/number_util.js"></script>
|
||||
<script src="../../game/lib/record_util.js"></script>
|
||||
<script src="../../game/lib/history_record_manager.js"></script>
|
||||
<script src="../../game/lib/input_type_text.js"></script>
|
||||
<script src="../../game/lib/score_board.js"></script>
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
<!-- library source files -->
|
||||
<script src="../../game/lib/keyboard_shortcut.js"></script>
|
||||
<script src="../../game/lib/number_util.js"></script>
|
||||
<script src="../../game/lib/record_util.js"></script>
|
||||
<script src="../../game/lib/history_record_manager.js"></script>
|
||||
<script src="../../game/lib/input_type_text.js"></script>
|
||||
<script src="../../game/lib/score_board.js"></script>
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
<!-- library source files -->
|
||||
<script src="../../game/lib/keyboard_shortcut.js"></script>
|
||||
<script src="../../game/lib/number_util.js"></script>
|
||||
<script src="../../game/lib/record_util.js"></script>
|
||||
<script src="../../game/lib/history_record_manager.js"></script>
|
||||
<script src="../../game/lib/input_type_text.js"></script>
|
||||
<script src="../../game/lib/score_board.js"></script>
|
||||
|
||||
@@ -41,6 +41,7 @@
|
||||
<!-- library source files -->
|
||||
<script src="../../game/lib/keyboard_shortcut.js"></script>
|
||||
<script src="../../game/lib/number_util.js"></script>
|
||||
<script src="../../game/lib/record_util.js"></script>
|
||||
<script src="../../game/lib/history_record_manager.js"></script>
|
||||
<script src="../../game/lib/input_type_text.js"></script>
|
||||
<script src="../../game/lib/score_board.js"></script>
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
<script src="../../game/lib/keyboard_shortcut.js"></script>
|
||||
<script src="../../game/lib/number_util.js"></script>
|
||||
<script src="../../game/lib/string_util.js"></script>
|
||||
<script src="../../game/lib/record_util.js"></script>
|
||||
<script src="../../game/lib/date_util.js"></script>
|
||||
<script src="../../game/lib/history_record_manager.js"></script>
|
||||
<script src="../../game/lib/db_connect_manager.js"></script>
|
||||
|
||||
@@ -42,6 +42,7 @@
|
||||
<!-- <script src="../../game/lib/keyboard_shortcut.js"></script> -->
|
||||
<script src="../../game/lib/string_util.js"></script>
|
||||
<script src="../../game/lib/number_util.js"></script>
|
||||
<script src="../../game/lib/record_util.js"></script>
|
||||
<script src="../../game/lib/history_record_manager.js"></script>
|
||||
<script src="../../game/lib/input_type_text.js"></script>
|
||||
<script src="../../game/lib/button/round_rect_button.js"></script>
|
||||
|
||||
@@ -42,6 +42,7 @@
|
||||
<script src="../../game/lib/keyboard_shortcut.js"></script>
|
||||
<script src="../../game/lib/string_util.js"></script>
|
||||
<script src="../../game/lib/number_util.js"></script>
|
||||
<script src="../../game/lib/record_util.js"></script>
|
||||
<script src="../../game/lib/history_record_manager.js"></script>
|
||||
<script src="../../game/lib/input_type_text.js"></script>
|
||||
<script src="../../game/lib/button/round_rect_button.js"></script>
|
||||
|
||||
@@ -42,6 +42,7 @@
|
||||
<!-- <script src="../../game/lib/keyboard_shortcut.js"></script> -->
|
||||
<script src="../../game/lib/string_util.js"></script>
|
||||
<script src="../../game/lib/number_util.js"></script>
|
||||
<script src="../../game/lib/record_util.js"></script>
|
||||
<script src="../../game/lib/history_record_manager.js"></script>
|
||||
<script src="../../game/lib/input_type_text.js"></script>
|
||||
<script src="../../game/lib/button/round_rect_button.js"></script>
|
||||
|
||||
@@ -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