mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
fix hit and run addHour
This commit is contained in:
@@ -215,7 +215,7 @@ class HitAndRunRepository extends BaseRepository
|
|||||||
}
|
}
|
||||||
|
|
||||||
//unreached
|
//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]));
|
$result = $this->unreached($row, $setting, !isset($disabledUsers[$row->uid]));
|
||||||
if ($result) {
|
if ($result) {
|
||||||
$successCounts++;
|
$successCounts++;
|
||||||
|
|||||||
Reference in New Issue
Block a user