1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

Fix PHP CS

This commit is contained in:
Zero
2021-12-07 17:42:10 +08:00
parent 2342f0c1c7
commit e6e92618b1

View File

@ -46,7 +46,7 @@ class AuditLogController extends Controller
$query->where('created_at', '<=', $listDetails['date_to']); $query->where('created_at', '<=', $listDetails['date_to']);
} }
if ($listDetails['ip']) { if ($listDetails['ip']) {
$query->where('ip', 'like', $listDetails['ip'] . "%"); $query->where('ip', 'like', $listDetails['ip'] . '%');
} }
$activities = $query->paginate(100); $activities = $query->paginate(100);