mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-25 01:48:42 +00:00
fix: extra.history update
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
387e7b45af
commit
b7347e76a2
@ -287,7 +287,11 @@ class UOJUser {
|
||||
}
|
||||
|
||||
for ($i = 0; $i < count($new_h); $i++) {
|
||||
if ($new_h[$i]['addr'] == $cur['addr'] && $new_h[$i]['ua'] == $cur['ua']) {
|
||||
if (
|
||||
$new_h[$i]['addr'] == $cur['addr'] &&
|
||||
$new_h[$i]['forwarded_addr'] == $cur['forwarded_addr'] &&
|
||||
$new_h[$i]['ua'] == $cur['ua']
|
||||
) {
|
||||
$new_h[$i]['last'] = $cur['last'];
|
||||
return $new_h;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user