1
This commit is contained in:
parent
696fb2df18
commit
998a6c8c3b
@ -50,13 +50,13 @@ class MarketBatch {
|
||||
array_push(self::$sortedList, $meta);
|
||||
}
|
||||
usort(self::$sortedList, function ($a, $b) {
|
||||
if ($a['_start_time_utc'] == $b['_start_time_utc']) {
|
||||
if ($a['start_time'] == $b['start_time']) {
|
||||
die(json_encode(array(
|
||||
'errcode' => 500,
|
||||
'errmsg' => 'server internal error'
|
||||
)));
|
||||
}
|
||||
return $a['_start_time_utc'] < $b['_start_time_utc'];
|
||||
return $a['start_time'] < $b['start_time'];
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user