mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-22 03:08:41 +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++) {
|
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'];
|
$new_h[$i]['last'] = $cur['last'];
|
||||||
return $new_h;
|
return $new_h;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user