aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Profiler/FileProfilerStorage.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Profiler/FileProfilerStorage.php')
-rw-r--r--lib/private/Profiler/FileProfilerStorage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Profiler/FileProfilerStorage.php b/lib/private/Profiler/FileProfilerStorage.php
index b68038a65c4..d7f3df752a6 100644
--- a/lib/private/Profiler/FileProfilerStorage.php
+++ b/lib/private/Profiler/FileProfilerStorage.php
@@ -66,7 +66,7 @@ class FileProfilerStorage {
[$csvToken, $csvMethod, $csvUrl, $csvTime, $csvParent, $csvStatusCode] = $values;
$csvTime = (int) $csvTime;
- if ($url && false === strpos($csvUrl, $url) || $method && false === strpos($csvMethod, $method) || $statusCode && false === strpos($csvStatusCode, $statusCode)) {
+ if ($url && !str_contains($csvUrl, $url) || $method && !str_contains($csvMethod, $method) || $statusCode && !str_contains($csvStatusCode, $statusCode)) {
continue;
}