diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2022-06-13 11:26:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-13 11:26:47 +0200 |
commit | 8188ad59288193e68b4b02add5f030d57864aac7 (patch) | |
tree | d6bee142c9e6a7e7c929bef086bde7fbc08024ae /apps | |
parent | a5b13da95b70c5f455251dc389850ce7a243aa62 (diff) | |
parent | 23777c997039f3508ff35471c8feb6b978360d91 (diff) | |
download | nextcloud-server-8188ad59288193e68b4b02add5f030d57864aac7.tar.gz nextcloud-server-8188ad59288193e68b4b02add5f030d57864aac7.zip |
Merge pull request #32841 from nextcloud/backport-32059-stable24
[stable24] Fix issue #31692 of occ files:scan
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/lib/Command/Scan.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/lib/Command/Scan.php b/apps/files/lib/Command/Scan.php index 47f1caabc78..7b2ad199ba4 100644 --- a/apps/files/lib/Command/Scan.php +++ b/apps/files/lib/Command/Scan.php @@ -291,7 +291,7 @@ class Scan extends Base { protected function formatExecTime() { $secs = round($this->execTime); # convert seconds into HH:MM:SS form - return sprintf('%02d:%02d:%02d', ($secs / 3600), ($secs / 60 % 60), $secs % 60); + return sprintf('%02d:%02d:%02d', (int)($secs / 3600), ((int)($secs / 60) % 60), $secs % 60); } protected function reconnectToDatabase(OutputInterface $output): Connection { |