diff options
author | provokateurin <kate@provokateurin.de> | 2024-10-23 17:06:59 +0200 |
---|---|---|
committer | provokateurin <kate@provokateurin.de> | 2024-10-23 17:08:29 +0200 |
commit | f25a71806baff92b4fa51e35242eaeb805f82d9f (patch) | |
tree | 2e28c1f177b020a7d76c444aa98adbb4e94746e0 /apps/files_trashbin | |
parent | 1f1760454febe04a42ef4f200ba8389b1f188c15 (diff) | |
download | nextcloud-server-f25a71806baff92b4fa51e35242eaeb805f82d9f.tar.gz nextcloud-server-f25a71806baff92b4fa51e35242eaeb805f82d9f.zip |
fix(apps): Fix wrong or missing castsfix/apps/wrong-missing-casts
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r-- | apps/files_trashbin/lib/Trashbin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/Trashbin.php b/apps/files_trashbin/lib/Trashbin.php index f6791f78a38..32fd81465fa 100644 --- a/apps/files_trashbin/lib/Trashbin.php +++ b/apps/files_trashbin/lib/Trashbin.php @@ -980,7 +980,7 @@ class Trashbin implements IEventListener { $pattern = \OC::$server->getDatabaseConnection()->escapeLikeParameter(basename($filename)); if ($timestamp) { // fetch for old versions - $escapedTimestamp = \OC::$server->getDatabaseConnection()->escapeLikeParameter($timestamp); + $escapedTimestamp = \OC::$server->getDatabaseConnection()->escapeLikeParameter((string)$timestamp); $pattern .= '.v%.d' . $escapedTimestamp; $offset = -strlen($escapedTimestamp) - 2; } else { |