diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/dav/command/syncbirthdaycalendar.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/command/syncbirthdaycalendar.php b/apps/dav/command/syncbirthdaycalendar.php index 66ab540b9ad..5a2baa31d93 100644 --- a/apps/dav/command/syncbirthdaycalendar.php +++ b/apps/dav/command/syncbirthdaycalendar.php @@ -61,7 +61,7 @@ class SyncBirthdayCalendar extends Command { * @param OutputInterface $output */ protected function execute(InputInterface $input, OutputInterface $output) { - if ($input->hasArgument('user')) { + if ($input->getArgument('user') !== null) { $user = $input->getArgument('user'); if (!$this->userManager->userExists($user)) { throw new \InvalidArgumentException("User <$user> in unknown."); |