diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2023-05-17 13:42:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-17 13:42:51 +0200 |
commit | 02dbc045335796bab9c514a2b0e98780624805f5 (patch) | |
tree | bc7bec809ddc4313bda704c9be5e1b59e412cd96 | |
parent | c24bd06825d3cc4551e42fbe5a22ecf3aa3f87d8 (diff) | |
parent | bec51730f5cf2f85cec7df04989d3c4aac04d747 (diff) | |
download | nextcloud-server-02dbc045335796bab9c514a2b0e98780624805f5.tar.gz nextcloud-server-02dbc045335796bab9c514a2b0e98780624805f5.zip |
Merge pull request #37849 from nextcloud/backport/37834/stable26
[stable26] Fix TypeError in Profiler
-rw-r--r-- | lib/private/Profiler/FileProfilerStorage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Profiler/FileProfilerStorage.php b/lib/private/Profiler/FileProfilerStorage.php index d583549332e..b68038a65c4 100644 --- a/lib/private/Profiler/FileProfilerStorage.php +++ b/lib/private/Profiler/FileProfilerStorage.php @@ -99,7 +99,7 @@ class FileProfilerStorage { $iterator = new \RecursiveIteratorIterator($iterator, \RecursiveIteratorIterator::CHILD_FIRST); foreach ($iterator as $file) { - $file = $file->getPathInfo(); + $file = (string)$file->getPathInfo(); if (is_file($file)) { unlink($file); } else { |