mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
fix hit and run addHour
This commit is contained in:
@@ -215,7 +215,7 @@ class HitAndRunRepository extends BaseRepository
|
||||
}
|
||||
|
||||
//unreached
|
||||
if ($row->created_at->addHours($setting['inspect_time'])->lte(Carbon::now())) {
|
||||
if ($row->created_at->addHours((int)$setting['inspect_time'])->lte(Carbon::now())) {
|
||||
$result = $this->unreached($row, $setting, !isset($disabledUsers[$row->uid]));
|
||||
if ($result) {
|
||||
$successCounts++;
|
||||
|
||||
Reference in New Issue
Block a user