diff options
author | Richard Steinmetz <richard@steinmetz.cloud> | 2025-04-15 13:00:54 +0200 |
---|---|---|
committer | Richard Steinmetz <richard@steinmetz.cloud> | 2025-04-15 13:00:54 +0200 |
commit | f0466187dcca24f9cd56203d8526e98e3debf005 (patch) | |
tree | 0234c8b416036f18c66c6f88e4e504ebb94f1bc6 | |
parent | 998adfede931703190aa54bac2e9351a422d488e (diff) | |
download | nextcloud-server-fix/files-external-notify-mount-id-stable28.tar.gz nextcloud-server-fix/files-external-notify-mount-id-stable28.zip |
fix: cast mount_id type in files_external:notify commandfix/files-external-notify-mount-id-stable28
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
-rw-r--r-- | apps/files_external/lib/Command/Notify.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Command/Notify.php b/apps/files_external/lib/Command/Notify.php index fd3a66a756e..fe67bd77f4f 100644 --- a/apps/files_external/lib/Command/Notify.php +++ b/apps/files_external/lib/Command/Notify.php @@ -114,7 +114,7 @@ class Notify extends Base { } protected function execute(InputInterface $input, OutputInterface $output): int { - $mount = $this->globalService->getStorage($input->getArgument('mount_id')); + $mount = $this->globalService->getStorage((int)$input->getArgument('mount_id')); if (is_null($mount)) { $output->writeln('<error>Mount not found</error>'); return self::FAILURE; |