fix gitlab tests

This commit is contained in:
root
2026-06-09 02:32:58 -04:00
parent 20a0b6c4e5
commit 6def9993da
1489 changed files with 10449 additions and 11356 deletions
+2 -3
View File
@@ -16,8 +16,8 @@ class IpBanQueryService
$query->where('blocked_until', '>', $this->utcNow());
}
if (! empty($filters['search'])) {
$term = '%'.trim((string) $filters['search']).'%';
if (!empty($filters['search'])) {
$term = '%' . trim((string) $filters['search']) . '%';
$query->where('ip_address', 'like', $term);
}
@@ -41,7 +41,6 @@ class IpBanQueryService
if (function_exists('utc_now')) {
return (string) utc_now();
}
return now('UTC')->toDateTimeString();
}
}